#include <Mail.h>

Public Member Functions | |
| virtual bool | Open (GSocketI *S, char *RemoteHost, char *LocalDomain, char *UserName, char *Password, int Port, int Flags)=0 |
| Connection setup/shutdown. | |
| virtual bool | Close ()=0 |
| Close the connection. | |
| virtual GStringPipe * | SendStart (List< AddressDescriptor > &To, AddressDescriptor *From, MailProtocolError *Err=0)=0 |
| virtual bool | SendEnd (GStringPipe *Sink)=0 |
| Finishes the mail send. | |
| virtual bool MailSink::Open | ( | GSocketI * | S, | |
| char * | RemoteHost, | |||
| char * | LocalDomain, | |||
| char * | UserName, | |||
| char * | Password, | |||
| int | Port, | |||
| int | Flags | |||
| ) | [pure virtual] |
Connection setup/shutdown.
| S | The transport layer to use |
| RemoteHost | The host to connect to |
| LocalDomain | The local domain |
| UserName | The sink username (or NULL) |
| Password | The sink password (or NULL) |
| Port | The port to connect with or 0 for default (25) |
| Flags | Options: Use any of MAIL_SINK_STARTTLS, MAIL_SINK_AUTH, MAIL_SINK_USE_PLAIN, MAIL_SINK_USE_LOGIN or'd together. |
Implemented in MailSmtp.
| virtual GStringPipe* MailSink::SendStart | ( | List< AddressDescriptor > & | To, | |
| AddressDescriptor * | From, | |||
| MailProtocolError * | Err = 0 | |||
| ) | [pure virtual] |
Write the email's contents into the GStringPipe returned from SendStart and then call SendEnd to finish the transaction
Implemented in MailSmtp.
1.5.7.1