MailMill COM 1.0 Documentation

Send Mail Method:
Sends the current message.
Syntax:
[C++]
HRESULT Send();
[VB]
Sub Send()
Remark:
The From property and at least one the Bccs, Ccs or Tos properties must be set before sending the message or an error will occur.
Example:
[VB]
Dim oMail As New Mail
oMail.From = "Sender <sender@emilltest.com>"
oMail.Tos.Value = "Receiver <receiver@emilltest.com>"
oMail.Subject = "Test message"
oMail.TextBody = "This is a test message!"
oMail.Server = "server.mydomain.tld"
oMail.Send
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved