Example #1
0
// Set the source of the message
func (this *EM) From(addr string, name string) *EM {
	this.Message.From = mailbuilder.NewAddress(addr, name)
	return this
}
Example #2
0
// Set the BCC: destination address, may be called more than onece.
func (this *EM) Bcc(addr string, name string) *EM {
	this.Message.AddBcc(mailbuilder.NewAddress(addr, name))
	return this
}