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 = "" _ ) |
- 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
Value Description MAIL_PRIORITY_HIGH High mail importance. MAIL_PRIORITY_LOW Low mail importance. MAIL_PRIORITY_NORMAL Normal 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.