MailGetSubject

Top  Previous  Next

Prototype

 

strSubject:=MailGetSubject(intMailHandle)

 

Description

 

It allows to get subject mail

 

Parameters

 

intMailHandle: integer value corresponding to the mail handle.

 

Returned value

 

strSubject: String corresponding to the subject mail.

 

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);