Options.SendMailAttach Property

True if the Send To command on the File menu inserts the active document as an attachment to a mail message. False if the Send To command inserts the contents of the active document as text in a mail message.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)


Dim options1 As Options

Dim returnValue As Boolean
returnValue = options1.SendMailAttach

Dim sampleValue As Boolean
options1.SendMailAttach = sampleValue


Property SendMailAttach() As Boolean
bool SendMailAttach {get; set;}
property Boolean SendMailAttach{
    Boolean get();
    Void set(Boolean);
public boolean get_SendMailAttach();
public void set_SendMailAttach(boolean);
function get SendMailAttach() : Boolean;
function set SendMailAttach(Boolean);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also


Options Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Options Members