Dart Smtp, Pop, Imap Controls
Send Method
String or Byte array containing an encoded message, or a String containing the filename of a file containing the message.
Description
Send message using the current session.
Syntax
Visual Basic
Public Sub Send( _
   Optional ByRef Msg As Variant _
) 
Parameters
Msg
String or Byte array containing an encoded message, or a String containing the filename of a file containing the message.
Remarks

If the Msg parameter is not specified, the message contained in the Message property is sent.

The recipients of the message are determined by the To, Cc, and Bcc labels in the message header, unless overridden by the To property. Bcc header fields are removed from the message header before sending (Bcc fields are used for the message envelope only).

The sender of the message is determined by the From label in the message header, unless overridden by the From property.

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

Smtp Object  | Smtp Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic