Visual Basic |
---|
Public Sub SendMailEx( _ ByVal SendTo As String, _ Optional ByVal SendFrom As String = "", _ Optional ByVal Subject As String = "", _ Optional ByVal Message As String = "", _ Optional ByVal Option As Long = 0, _ Optional ByVal attachArray As Variant, _ Optional ByVal bsFormat 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. - SendFrom
- No longer in use. The actual "From" address is the email associated with the connected user. Pass an empty string ("").
- Subject
- The subject of the e-mail.
- Message
- The body of the e-mail.
- Option
- A value of the TDMAIL_FLAGS Enumeration.
- attachArray
- A Variant Array, each element of which is an Attachment.ServerFileName
- bsFormat
- The mail format, either "HTML", "TEXT" or any other string. Any string other than "HTML" is interpreted as text.