Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFileDidNotExistError ¶
type ConfigFileDidNotExistError struct{}
ConfigFileDidNotExistError is thrown if the config file did not exist initially when the function was called, and it has now been created and the user should modify the default values
func (ConfigFileDidNotExistError) Error ¶
func (e ConfigFileDidNotExistError) Error() string
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message represents a simple email message with a header and body to be sent
func (*Message) AddLineToBody ¶
AddLineToBody adds a new line with the message s in the body
func (*Message) Send ¶
Send sends the messsage using the settings set in the configuration file config/mail.ini
func (*Message) SetSubject ¶
SetSubject sets the message's subject to s
Click to show internal directories.
Click to hide internal directories.