#include <transport.h>
Public Member Functions | |
virtual bool | deliver (Mail const &mail, bool *temp)=0 |
Delivers an e-mail. | |
Static Public Attributes | |
static modules::PSIID const | IID = 0x45724731 |
Unique interface identifier. |
This interface must be exposed through the Module::interface() function. The deliver() function needs to be implemented.
virtual bool mail::Transport::deliver | ( | Mail const & | mail, | |
bool * | temp | |||
) | [pure virtual] |
Delivers an e-mail. How this e-mail is sent is up to the implementer.
[in] | The e-mail to send. A copy of this object must be done if needed as it is not guaranteed to be valid after the function returns. | |
[out] | temp | If the function fails, the boolean value pointed by this parameter must be set to true if the error is temporary (and thus the e-mail could be delivered later) and false if the error is permanent. |