Send
Sends email message represened by object to Smtp server
Send [vSendTo]
Parameters
- vSendTo
- Optional. The email address to send email message. If it is specified, it will be used as a recipient address and
the name/address from To property will be used as a declarative one only.
Return value
This method returns TRUE if success. Otherwise, it returns FALSE.
Notes
If the method has been unsuccessful (the FALSE value has been returned), the error message text can be retrieved from
the LastErrorMessage property.
Example
mail.From = "myemail@email.address.com"
mail.To = "Recipients list"
mail.Subject = "The updated data are abailable now"
mail.Send "john@mycustomers.com"