Mail.h File Reference

#include "INet.h"
#include "Base64.h"
#include "Progress.h"
#include "GVariant.h"

Go to the source code of this file.

Classes

class  FileDescriptor
 Attachment descriptor. More...
class  AddressDescriptor
 Address dscriptor. More...
class  MailProtocol
 Base class for mail protocol implementations. More...
class  MailSink
 Mail sending protocol. More...
class  MailTransaction
 A bulk mail handling class. More...
struct  MailCallbacks
class  MailSource
 A generic mail source object. More...
class  MailSmtp
 SMTP implementation. More...

Defines

#define MAIL_USE_STARTTLS   0x01
 Enable STARTTLS support (requires an SSL capable socket).
#define MAIL_USE_AUTH   0x02
 Use authentication.
#define MAIL_USE_PLAIN   0x04
 Force the use of PLAIN type authentication.
#define MAIL_USE_LOGIN   0x08
 Force the use of LOGIN type authentication.
#define MAIL_USE_NTLM   0x10
 Force the use of NTLM type authentication.
#define MAIL_SECURE_AUTH   0x20
 Secure auth.
#define MAIL_SSL   0x40
 Use SSL.
#define MAIL_SOURCE_STARTTLS   0x01
 Enable STARTTLS support (requires an SSL capable socket).
#define MAIL_SOURCE_AUTH   0x02
 Use authentication.
#define MAIL_SOURCE_USE_PLAIN   0x04
 Force the use of PLAIN type authentication.
#define MAIL_SOURCE_USE_LOGIN   0x08
 Force the use of LOGIN type authentication.

Typedefs

typedef MailSrcStatus(* MailSrcCallback )(MailTransaction *Trans, int64 Size, int *LinesToDownload, void *Data)
 The callback function used by MailSource::Receive.
typedef bool(* MailReceivedCallback )(MailTransaction *Trans, void *Data)
 The callback function used by MailSource::Receive.

Enumerations

enum  MailSrcStatus { DownloadAll, DownloadTop, DownloadNone, DownloadAbort }
 Return code from MailSrcCallback. More...


Detailed Description

Author:
Matthew Allen

Enumeration Type Documentation

Return code from MailSrcCallback.

Enumerator:
DownloadAll  Download the whole email.
DownloadTop  Download just the top part.
DownloadNone  Skip this email.
DownloadAbort  About the whole receive.


Generated on Wed Dec 1 15:41:01 2010 for Lgi by  doxygen 1.5.7.1