package
0.0.0-20240907012755-d72dd33290f0
Repository: https://github.com/aclisp/go-zero-side.git
Documentation: pkg.go.dev

# Functions

NewDialer returns a new SMTP Dialer.
NewMessage creates a new message.
Rename is a file setting to set the name of the attachment if the name is different than the filename on disk.
Send sends emails using the given Sender.
SetCharset is a message setting to set the charset of the email.
SetCopyFunc is a file setting to replace the function that runs when the message is sent.
SetEncoding is a message setting to set the encoding of the email.
SetHeader is a file setting to set the MIME header of the message part that contains the file content.
SetPartEncoding sets the encoding of the part added to the message.

# Constants

Base64 represents the base64 encoding as defined in RFC 2045.
QuotedPrintable represents the quoted-printable encoding as defined in RFC 2045.
Unencoded can be used to avoid encoding the body of an email.

# Structs

A Dialer is a dialer to an SMTP server.
Message represents an email.

# Interfaces

SendCloser is the interface that groups the Send and Close methods.
Sender is the interface that wraps the Send method.

# Type aliases

Encoding represents a MIME encoding scheme like quoted-printable or base64.
A FileSetting can be used as an argument in Message.Attach or Message.Embed.
A MessageSetting can be used as an argument in NewMessage to configure an email.
A PartSetting can be used as an argument in Message.SetBody, Message.AddAlternative or Message.AddAlternativeWriter to configure the part added to a message.
A SendFunc is a function that sends emails to the given addresses.