All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
go.mod manifest.SendError to provide additional info about the cause and index of
a failed attempt to transmit a batch of messages.Message methods for attaching and embedding
io.Readers: AttachReader and EmbedReader.MIME-Version header.Message.WriteTo.Message.SetBoundary to allow specifying a custom MIME boundary.Message.SetBodyWriter to make it easy to use text/template and
html/template for message bodies. Contributed by Quantcast.Dialer.StartTLSPolicy so that MandatoryStartTLS can be required,
or NoStartTLS can disable it. Contributed by Quantcast.Dialer.LocalName field to allow specifying the hostname
sent with SMTP's HELO command.Message.SetBody, Message.AddAlternative, and
Message.AddAlternativeWriter allow specifying the encoding of message parts.Dialer.Dial's returned SendCloser automatically redials after a timeout.Rename to allow specifying filename
of an attachment.NetDialTimeout to allow setting a custom dialer.Dialer.Timeout field to allow specifying a timeout for
dials, reads, and writes.Dialer.Dial automatically uses CRAM-MD5 when available.Dialer.Dial specifies a default timeout of 10 seconds.NewPlainDialer is deprecated in favor of NewDialer.Message contains a
nil header.AddAlternativeWriter replacing the message body instead
of adding a body part.Message.FormatAddress when name is blank.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.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.NewPlainDialer now implements the LOGIN
authentication mechanism when needed.