Returns new instance with BCC: recipient appended
Returns new instance with CC: recipient appended
Returns new instance with from field set to given values
Returns new instance with from field set to given tuple (with (name, address) fields)
Returns new instance with reply-to set to given value
Returns new instance with TO: recipient appended
Returns new instance with attachment appended to attachments list
Returns new instance with attachments list replaced with given attachments.
Returns new instance with attachments list replaced with given attachments.
Returns new instance with html body set to given value
Returns new instance with recipients list replaced with given recipients.
Returns new instance with recipients list replaced with given list.
Returns new instance with subject set to given value
Returns new instance with text body set to given value
Mail instance builder
Utilizes statically typed builder pattern. Only instance with
from,to,subjectandbody(either text or html) values set can be actually sent to mail.MailActor.MailActor.