MailMessage.h
Go to the documentation of this file.
85 MailMessage& addAttachment(IDataSourceStream* stream, MimeType mime, const String& filename = "");
94 MailMessage& addAttachment(IDataSourceStream* stream, const String& mime, const String& filename = "");
Definition: MailMessage.h:31
MailMessage & setHeader(const String &name, const String &value)
Set a header value.
MailMessage & setBody(const String &body, MimeType mime=MIME_TEXT)
Sets the body of the email.
MailMessage & addAttachment(FileStream *stream)
Adds attachment to the email.
Definition: SmtpClient.h:90
IDataSourceStream * stream
The currently active stream being sent.
Definition: TcpClient.h:145