MailMill COM 1.0 Documentation

Save Mail Method:
Saves the current message to the specified file.
Syntax:
[C++]
HRESULT Save(VARIANT destination);
[VB]
Sub Save(destination As Variant)
Parameters:
destination
The full path where the file has to be saved.
Example:
[VB]
Dim oMail As New Mail
oMail.From = "Sender <sender@emilltest.com>"
oMail.Tos.Value = "Receiver <receiver@emilltest.com>"
oMail.Subject = "Hello World"
oMail.TextBody = "My first saved message!"
oMail.Save "c:\mail.eml"
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved