MailOpen

Top  Previous  Next

Prototype

 

IntHandle:=MailOpen(strFileName)

 

Description

 

It allows to open a file containing a mail.

 

Parameters

 

strFileName: File path to open. It have to be in standard format (EML o MSG).

 

Returned value

 

IntHandle: integer value corresponding to the mail handle.

 

Notes

 

None.

 

Example

 

// It loads an email

Email:=MailOpen('c:\documents\incontro.eml');

//It gets mail subject

Test:=MailGetSubject(Email);

//It shows subject

ShowMessage(Test);