MailGetTo

Top  Previous  Next

Prototype

 

strTo:=MailGetTo(intMailHandle)

 

Description

 

It allows to get the mail receiver or receivers.

 

Parameters

 

intMailHandle: integer value corresponding to the mail handle.

 

Returned value

 

strTo: String corresponding to the mail receiver or receivers address.

 

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