open class MailEncoder
create MIME mail messages from a MailMessage object
example usage is:
MailMessage = new MailMessage(); (set elements and attachments ...) String message = new MailEncoder(mailmessage).encode();
usually you are not using this class directly, rather it will be used by sendMail() in MailClientImpl
Author
Alexander Lehmann
MailEncoder(message: MailMessage, hostname: String)
create a MailEncoder for the message The class will probably get a few setters for optional features of the SMTP protocol later e.g. 8BIT or SMTPUTF (this is not yet supported) |
open fun encode(): String
encode the MailMessage to a String |
|
open fun getMessageID(): String |