SaveToFile method
|
acSendMail component.
|
function SaveToFile(const FileName: String): Boolean;
|
The SaveToFile property generates the e-mail message (including encoded attachment) and stores it to the file (specified in FileName parameter). Set Unsent parameter to True to add "X-Unsent: 1" field (which means that message not yet sent) to the stored message.
|
|
Function returns True if message has successfully saved, or False if it could not be stored by specified FileName.
|
|
The created message has standard format (.eml) which can be easily viewed and sent by MS-Outlook e-mail clients.
|
Send property.
|