32 #ifndef PTLIB_INETMAIL_H 33 #define PTLIB_INETMAIL_H 187 bool InternalBeginMessage();
311 virtual void OnQUIT();
314 virtual void OnHELP();
317 virtual void OnNOOP();
320 virtual void OnTURN();
323 virtual void OnRSET();
361 virtual void OnDATA();
374 virtual void OnSendMail(
414 enum { WasMAIL, WasSEND, WasSAML, WasSOML } sendCommand;
466 LIST, RETR, DELE, APOP, TOP,
UIDL,
490 static const PString & okResponse();
491 static const PString & errResponse();
556 AllowClearTextSASL = 4
568 int options = AllowUserPass
576 int GetMessageCount();
692 virtual void HandleSendMessage(
693 PINDEX messageNumber,
705 virtual void HandleDeleteMessage(
706 PINDEX messageNumber,
724 virtual void OnQUIT();
727 virtual void OnRSET();
730 virtual void OnNOOP();
733 virtual void OnSTAT();
950 void SetContentAttachment(
963 void SetTransferEncoding(
1022 #endif // PTLIB_INETMAIL_H PBoolean eightBitMIME
Definition: inetmail.h:181
PBoolean eightBitMIME
Definition: inetmail.h:408
Definition: inetmail.h:815
static const PCaselessString & ContentTypeTag()
This class contains the Multipurpose Internet Mail Extensions parameters and variables.
Definition: mime.h:52
static const PCaselessString & ContentTransferEncodingTag()
Definition: inetmail.h:991
A TCP/IP socket for the Post Office Protocol version 3.
Definition: inetmail.h:647
PUnsignedArray messageSizes
Definition: inetmail.h:779
Array of characters.
Definition: array.h:551
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:1049
PBoolean writePartHeaders
Definition: inetmail.h:1015
User name was valid but ambiguous.
Definition: inetmail.h:263
Direction
Definition: inetmail.h:814
This class is used to encode/decode data using the MIME standard base64 encoding mechanism as defined...
Definition: cypher.h:70
Definition: inetmail.h:83
A channel for sending/receiving RFC822 compliant mail messages.
Definition: inetmail.h:810
Definition: inetmail.h:465
User name was invalid.
Definition: inetmail.h:264
ForwardResult
Definition: inetmail.h:243
PINDEX messageBufferSize
Definition: inetmail.h:413
Definition: inetmail.h:81
This class describes a full description for a file on the particular platform.
Definition: filepath.h:65
PStringArray messageIDs
Definition: inetmail.h:780
LoginOptions
Definition: inetmail.h:551
Definition: inetmail.h:81
PBoolean sendingData
Definition: inetmail.h:184
This is a channel that operates indirectly through another channel(s).
Definition: indchan.h:49
PStringList toNames
Definition: inetmail.h:183
This class is a variation of a string that ignores case.
Definition: pstring.h:1708
User may be on local machine, do LookUpName().
Definition: inetmail.h:244
static const PCaselessString & ContentTypeTag()
Definition: inetmail.h:989
A TCP/IP socket for the Simple Mail Transfer Protocol.
Definition: inetmail.h:73
PBoolean loggedIn
Definition: inetmail.h:630
This is an array collection class of PString objects.
Definition: pstring.h:2024
PBYTEArray messageDeletions
Definition: inetmail.h:781
Definition: inetmail.h:80
Definition: inetmail.h:80
PMIMEInfo headers
Definition: inetmail.h:1014
Definition: inetmail.h:83
Definition: inetmail.h:81
A TCP/IP socket for the Simple Mail Transfer Protocol.
Definition: inetmail.h:108
A TCP/IP socket for process/application layer high level protocols.
Definition: inetprot.h:62
LookUpResult
Definition: inetmail.h:261
BOOL PBoolean
Definition: object.h:102
Array of unsigned characters.
Definition: array.h:670
Commands
Definition: inetmail.h:79
A TCP/IP socket for the Post Office Protocol version 3.
Definition: inetmail.h:522
Definition: inetmail.h:80
static const PCaselessString & ContentDispositionTag()
User may be forwarded to another SMTP host.
Definition: inetmail.h:245
Definition: inetmail.h:81
static const PCaselessString & ContentTransferEncodingTag()
virtual PBoolean Close()
Close the channel.
PString fromAddress
Definition: inetmail.h:182
PBoolean haveHello
Definition: inetmail.h:179
Definition: inetmail.h:80
A TCP/IP socket for the Post Office Protocol version 3.
Definition: inetmail.h:459
The character string class.
Definition: pstring.h:108
Definition: inetmail.h:466
PBoolean writeHeaders
Definition: inetmail.h:1013
Array of unsigned integers.
Definition: array.h:737
Definition: inetmail.h:82
PString fromPath
Definition: inetmail.h:410
PBoolean extendedHello
Definition: inetmail.h:180
virtual PBoolean OnOpen()
This callback is executed when the Open() function is called with open channels.
This is a list collection class of PString objects.
Definition: pstring.h:2184
PString username
Definition: inetmail.h:778
PBoolean extendedHello
Definition: inetmail.h:407
PStringList toNames
Definition: inetmail.h:411
Definition: inetmail.h:82
A TCP/IP socket for the Simple Mail Transfer Protocol.
Definition: inetmail.h:216
Definition: inetmail.h:82
Definition: inetmail.h:82
StuffState endMIMEDetectState
Definition: inetmail.h:415
PString fromAddress
Definition: inetmail.h:409
PStringList toDomains
Definition: inetmail.h:412
User name was valid and unique.
Definition: inetmail.h:262
StuffState
Definition: inetprot.h:369
virtual PBoolean Write(const void *buf, PINDEX len)
Low level write to the channel.
PMIMEInfo partHeaders
Definition: inetmail.h:1016
PBase64 * base64
Definition: inetmail.h:1018
A network communications channel.
Definition: socket.h:58
PString apopBanner
Definition: inetmail.h:631
Definition: inetmail.h:81
Definition: inetmail.h:82
Definition: inetmail.h:80
static const PCaselessString & ContentDispositionTag()
Definition: inetmail.h:990
Commands
Definition: inetmail.h:464
virtual PINDEX ParseResponse(const PString &line)
Parse a response line string into a response code and any extra info on the line. ...
PStringList boundaries
Definition: inetmail.h:1017