示例#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
}
示例#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
}