Menu Object
 
Syntax
 
Menu.MsgNewMail [Recipients][, Body][, Attachments][, ConvertToPDF][, Subject][, CC][, BCC][, HighPriority][, RequestReadReceipt][, ArchiveAtCustomer][, ArchiveAtSupplier][, AutoSend]
 
Description
Opens a new e-mail message. Optionally, all common e-mail fields and sending behaviour can be pre-configured.
 
Parameter
Description
Recipients
Optional. E-mail address or semicolon-separated list of recipient addresses.
Body
Optional. Text to pre-fill as the message body.
Attachments
Optional. File path or array of file paths to attach to the message.
ConvertToPDF
Optional. When True, attached documents are converted to PDF before sending. Default value False.
Subject
Optional. Subject line of the e-mail.
CC
Optional. E-mail address or semicolon-separated list of CC recipients.
BCC
Optional. E-mail address or semicolon-separated list of BCC recipients.
HighPriority
Optional. When True, the message is flagged as high priority. Default value False.
RequestReadReceipt
Optional. When True, a read receipt is requested. Default value False.
ArchiveAtCustomer
Optional. When True, a copy of the sent message is archived at the matching customer record. Default value False.
ArchiveAtSupplier
Optional. When True, a copy of the sent message is archived at the matching supplier record. Default value False.
AutoSend
Optional. When True, the message is sent immediately without displaying the compose window. Default value False.
See Also
msgMailNew (Dutch variant)
Example
 
Sub Main
    Menu.MsgNewMail Recipients:="info@customer.com", _
                    Subject:="Your order confirmation", _
                    Body:="Please find your order confirmation attached.", _
                    Attachments:="O:\Documents\Orders\confirm_10045.pdf", AutoSend:=True
End Sub