Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSMail ¶
type TLSMail struct { Host string Port string Sender string Password string TO []string CC []string Subject string Body string }
TLSMail - mail structure
func (*TLSMail) BuildMessage ¶
BuildMessage - build mail message
func (*TLSMail) CheckMandatoryFields ¶
CheckMandatoryFields - check if all mandatory fields are set
func (*TLSMail) EncodedSubject ¶
EncodedSubject - encode subject according to RFC2047, so UTF can be used
func (*TLSMail) ServerName ¶
ServerName - build server name
Click to show internal directories.
Click to hide internal directories.