Mail Method
Description
Mails the list of IBase Factory Items. 'Items' is a list of ID numbers.
Syntax
Visual Basic
Public Sub Mail( _
   ByVal Items As Variant, _
   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
Items

A list of IDs.

SendTo
An ALM user name, an e-mail address (not necessarily an ALM user), or a list of e-mail addresses.
Addresses can be separated by a comma or a semi-colon.
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