#include <smtp.h>
Inheritance diagram for wxSMTP::
Public Methods | |
void | Send (wxEmailMessage *pMessage) |
Called by Sendmail::Send(). More... | |
void | EvaluateLine (const wxString &line) |
Is called for every line input. More... | |
void | OnConnect (wxSocketEvent &event) |
Is called if successfully connected to the server. More... | |
void | ChangeState (const MailState &mailState) |
Changes the internal state. More... | |
void | SendNextRecipient () |
Is called by the SendMailFromState, if the SMTP server has acknowledged. More... | |
void | OnRecipientError () |
Is called by RcptListState if the SMTP server denied the current recipient. More... | |
void | OnRecipientSuccess () |
Is called by RcptListState if the SMTP server accepts the current recipient. More... | |
void | OnDataSuccess () |
Is called by DataState if the data was sent successfully. More... | |
void | SendFrom () |
Is called by HeloState to indicate that the from command can be sent. More... | |
void | SendData () |
Is called by StartDataState to indicate that the DATA command can be sent. More... |
Definition at line 55 of file smtp.h.
|
Changes the internal state.
Definition at line 67 of file smtp.cpp. Referenced by InitialState::onConnect(), StartDataState::onResponse(), SendMailFromState::onResponse(), HeloState::onResponse(), ConnectedState::onResponse(), and SendNextRecipient(). |
|
Is called for every line input.
Reimplemented from wxCmdlineProtocol. Definition at line 35 of file smtp.cpp. References MailState::onResponse(). |
|
Is called if successfully connected to the server.
Reimplemented from wxCmdlineProtocol. Definition at line 46 of file smtp.cpp. References MailState::onConnect(). |
|
Is called by DataState if the data was sent successfully.
Definition at line 93 of file smtp.cpp. References wxSMTPListener::OnDataSent(). Referenced by DataState::onResponse(). |
|
Is called by RcptListState if the SMTP server denied the current recipient.
Definition at line 83 of file smtp.cpp. References wxSMTPListener::OnRecipientAdded(). Referenced by RcptListState::onResponse(). |
|
Is called by RcptListState if the SMTP server accepts the current recipient.
Definition at line 88 of file smtp.cpp. References wxSMTPListener::OnRecipientAdded(). Referenced by RcptListState::onResponse(). |
|
Called by Sendmail::Send().
Definition at line 51 of file smtp.cpp. References wxRecipientsIterator::GetNext(), wxEmailMessage::GetRecipientsIterator(), and wxRecipientsIterator::HasNext(). Referenced by SendDialog::SendDialog(). |
|
Is called by StartDataState to indicate that the DATA command can be sent.
Definition at line 103 of file smtp.cpp. References wxEmailMessage::Encode(). Referenced by StartDataState::onResponse(). |
|
Is called by HeloState to indicate that the from command can be sent.
Definition at line 98 of file smtp.cpp. References wxEmailMessage::GetFrom(), and wxCmdlineProtocol::Write(). Referenced by HeloState::onResponse(). |
|
Is called by the SendMailFromState, if the SMTP server has acknowledged. This method sends then the next recipient, until all recipients have been sent. Then the StartDataState will be set. Definition at line 72 of file smtp.cpp. References ChangeState(), and wxCmdlineProtocol::Write(). Referenced by RcptListState::onResponse(), and SendMailFromState::onResponse(). |