Options.SendMailAttach property (Word)
True if the Send To command on the File menu inserts the active document as an attachment to a mail message. Read/write Boolean.
Syntax
expression. SendMailAttach
expression An expression that returns an Options object.
Remarks
False if the Send To command inserts the contents of the active document as text in a mail message.
Example
This example opens a new mail message that has the active document attached to it.
Options.SendMailAttach = True
ActiveDocument.SendMail
This example returns the state of the Mail as attachment option on the General tab of the Options dialog box.
Msgbox Options.SendMailAttach
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.