MailGetFrom

Top  Previous  Next

Prototype

 

strFrom:=MailGetFrom(intMailHandle)

 

Description

 

It allows to get sender mail address.

 

Parameters

 

intMailhandle: integer value corresponding to the handle of the mail from which get sender.

 

Returned value

 

strFrom:  String corresponding to the sender 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);