The pilo++leanmail module consists of one Application Library (APL) with four classes for the Centura developer platform and one Dynamic Link Library (DLL) with some functions for sending and receiving emails.

 


The four included classes of the pilo++leanmail APL are:

clsEmail
for sending the eMail
clsPop3
for receiving the eMails

clsMimeTypes
-Function GuessMimeType for sending attachments with the correct MIME Type
-Function ContentType extracts the MIME type out of received mail attachments.

clsStructEMail
This class defines the structure of the email (e.g.: from, to, subject, ...)


 


The DLL is a real high speed email module programmed in C++, which is able to generate a lot of emails rapidly.The mainly self explaining functions included in leanmail.dll are:

PopConnect
PopClose
PopCountMessages
PopCountMessageParts
PopDeleteMail
PopRetrieveHeader
PopRetrieveMessage
PopGetHeaderField
PopGetMimeBlock
PopGetLast
PopGetError
PopSetMessageHandler
PopSaveMimeBlock
PopGetBlockFilename
PopGetBlockEncoding
PopGetMessageID
PopGetSubject
PopGetTextBetween
PopDecodeMimeBlock
PopGetHeaderSubField
PopGetDecodedMessageBlock
SMTPOpen
SMTPStartMail
SMTPAddData

SMTPAddText

SMTPAddHTML
SMTPAddFile
SMTPAddFileInline
SMTPEndMail
SMTPClose
SMTPGetLastError
MailFreeMem
ReadFileIntoString
WriteStringToFile


 


You can use the DLL stand alone for all Win32 DLL supporting developer environments.

If you want to use leanmail for Centura applications, just integrate the APL and the DLL to your Centura source code. For more details please download the pilo++leanmail manual.