Send method: SMTPSession class
Syntax
Send(&Email)
Description
Use the Send method to send an MCFOutboundEmail object as email.
By default, the system sends the email to the SMTP server using the properties set in the application server configuration file. You can specify different setup parameters by supplying values for the SMTPSession object properties, such as Server, BackupServer, and so on.
Parameters
| Parameter | Description |
|---|---|
|
|
Specify an already instantiated MCFOutboundEMail object to be sent. |
Returns
A constant indicating the status of the method. The values are:
| Value | Description |
|---|---|
|
%ObEmail_Delivered |
The email was delivered. |
|
%ObEmail_NotDelivered |
Email delivery not attempted. |
|
%ObEmail_PartiallyDelivered |
The email was only partially delivered, that is, it was only delivered to some of the recipients. |
|
%ObEmail_ FailedBeforeSending |
The email wasn't delivered. |
|
%ObEmail_ SentButResultUnknown |
The email was sent but the result is unknown. The TimeToWaitForResult value was not sufficient to get the result of the send process. |
Related Topics