MailGetDate

Top  Previous  Next

Prototype

 

floatDate:=MailGetDate(intMailHandle)

 

Description

 

It allows to Get the mail data.

 

Parameters

 

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

 

Returned value

 

floatDate: float value corresponding to the data.

 

Notes

 

None.

 

Example

 

// It loads an email

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

 

//It gets mail data

Data:=MailGetDate(Email);

 

//It shows the data

ShowMessage(FormatDateTime('DD/MM/YYYY',Data));