MailGetBody

Top  Previous  Next

Prototype

 

strBody:=MailGetBody(intMailHandle)

 

Description

 

It allows to get the body mail.

 

Parameters

 

intMailHandle: integer value corresponding to the handle of the mail.

 

Returned value

 

strBody: String corresponding to the body 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);