MailEx Method
Description
Mails the list of IBase Factory Items. 'Items' is a list of ID numbers.
Syntax
Visual Basic
Public Sub MailEx( _
   ByVal SendTo As String, _
   Optional ByVal SendCc As String = "", _
   Optional ByVal SendBcc As String = "", _
   Optional ByVal Option As Long = 0, _
   Optional ByVal Subject As String = "", _
   Optional ByVal Priority As tagTDAPI_MAIL_PRIORITIES = MAIL_PRIORITY_NORMAL, _
   Optional ByVal Comment As String = "" _
) 
Parameters
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.
SendBcc
The recipients of a carbon copy of the mail. These addresses are not visible to other recipients. Addresses can be separated by a comma or a semicolon.
Option
The mailing options binary mask.
Create the mask using values of  the TDMAIL_FLAGS Enumeration.
Subject
The mail subject line.
Priority
ValueDescription
MAIL_PRIORITY_HIGHHigh mail importance.
MAIL_PRIORITY_LOWLow mail importance.
MAIL_PRIORITY_NORMALNormal mail importance.
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