|
|
|
|
|
<emailSMTPSession variable>.SendMessage (Function) In french: <Variable emailSessionSMTP>.EnvoieMessage Sends an Email using the SMTP protocol protocol: the Email is sent directly to the server. The email is actually sent when disconnecting from the SMTP server (i.e. when the session is closed). Attention Before sending the Email, it is necessary to: Syntax
Sending an email using SMTP Hide the details
<Result> = <Session>.SendMessage([<Email> [, <Advanced options>]])
<Result>: Boolean - True if the message was sent to the SMTP server,
- False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session>: Control name Identifies the user session. Corresponds to: <Email>: Optional Email variable Name of the Email variable corresponding to the email to be sent. If this parameter is not specified, the information contained in the Email structure is used.
<Advanced options>: Optional Integer constant Combination of following constants: | | emailOptionEncodeHeader | Encodes the message headers in Quoted-Printable if necessary. The headers of messages are not encoded by default. This constant prevents the reception of email with wrongly decoded accented characters. | emailOptionMessageID | Takes the Email.MessageID variable into account to generate the email. This option is ignored if this variable is not specified. This option is an advanced option. | emailOptionReference | Takes the Email.Reference variable into account to generate the email. This option is ignored if this variable is not specified. This option is an advanced option. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|