Mail Method
Description
Mails the IBaseFieldExMail field item.
Syntax
Visual Basic
Public Sub Mail( _
   ByVal SendTo As String, _
   Optional ByVal SendCc As String = "", _
   Optional ByVal Option As Long = 0, _
   Optional ByVal Subject As String = "", _
   Optional ByVal Comment As String = "" _
) 
Parameters
SendTo
The recipient address or addresses. Addresses can be separated by a comma or a semicolon.
SendCc
The recipients of a carbon copy of the mail. Addresses can be separated by a comma or a semicolon.
Option
The mailing options binary mask.
Create the mask using values of TDMAIL_FLAGS.
Subject
The mail subject line.
Comment
A comment on the sent e-mail. If the TDMAIL_COMMENT_AS_BODY option is set, this will be sent as the message body.
See Also