1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-11 19:29:16 +08:00
Ivan Milošević 1f8a221c22
MF-1059 - Add TLS support for email (#1560)
* Use gomail package for sending emails

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* remove print err

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* Add vendor

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* Rename email structure
remove logger

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* typo in var name

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* rename var

Signed-off-by: Ivan Milosevic <iva@blokovi.com>

* remove MF_EMAIL_SECRET

Signed-off-by: Ivan Milosevic <iva@blokovi.com>
2022-02-07 13:51:43 +01:00

977 B

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

[2.0.0] - 2015-09-02

  • Mailer has been removed. It has been replaced by Dialer and Sender.
  • File type and the CreateFile and OpenFile functions have been removed.
  • Message.Attach and Message.Embed have a new signature.
  • Message.GetBodyWriter has been removed. Use Message.AddAlternativeWriter instead.
  • Message.Export has been removed. Message.WriteTo can be used instead.
  • Message.DelHeader has been removed.
  • The Bcc header field is no longer sent. It is far more simpler and efficient: the same message is sent to all recipients instead of sending a different email to each Bcc address.
  • LoginAuth has been removed. NewPlainDialer now implements the LOGIN authentication mechanism when needed.
  • Go 1.2 is now required instead of Go 1.3. No external dependency are used when using Go 1.5.