#include <email.h>
Public Methods | |
wxEmailMessage (const wxString &subject, const wxString &text, const wxString &from) | |
Constructs a new email. More... | |
const wxString & | GetFrom () |
Gets the from string, which was specified in the constructor. More... | |
void | AddRecipient (const wxString &address) |
Adds an additional recipient. More... | |
void | AddTo (const wxString &address) |
Adds an additional recipient in the to-field. More... | |
void | AddCc (const wxString &address) |
Adds an additional recipient in the cc-field. More... | |
void | AddBcc (const wxString &address) |
Adds an additional recipient in the bcc-field. More... | |
void | AddFile (const wxFileName &fileName, const wxString mimeMainType="", const wxString mimeSubType="") |
Adds an file attachment. More... | |
wxRecipientsIterator | GetRecipientsIterator () |
Returns an iterator for iterating through all recipients: to, cc and bcc. More... | |
void | Encode (wxOutputStream &out) |
Writes the message as one blob, MIME encoded, if necessary, e.g. More... | |
Friends | |
class | wxRecipientsIterator |
Definition at line 22 of file email.h.
|
Constructs a new email.
|
|
Adds an additional recipient in the bcc-field.
|
|
Adds an additional recipient in the cc-field.
|
|
Adds an file attachment. If no mime-type is specified the type will be determined by the file extension.
Definition at line 43 of file email.cpp. Referenced by SendDialog::SendDialog(). |
|
Adds an additional recipient. You can add as many recipients as you want and don't have to specify it in the email message, for example if you want to send a mailing list. The RFC 821 (SMTP) garantuees 100 recipients at once, but most
|
|
Adds an additional recipient in the to-field.
Definition at line 28 of file email.cpp. Referenced by SendDialog::SendDialog(). |
|
Writes the message as one blob, MIME encoded, if necessary, e.g. for sending it with SMTP.
Definition at line 54 of file email.cpp. Referenced by wxSMTP::SendData(). |
|
Gets the from string, which was specified in the constructor.
Definition at line 18 of file email.cpp. Referenced by wxSMTP::SendFrom(). |
|
Returns an iterator for iterating through all recipients: to, cc and bcc.
Definition at line 49 of file email.cpp. Referenced by wxSMTP::Send(). |