Export (0) Print
Expand All
Expand Minimize

_MailItem.SendUsingAccount Property

Returns or sets an Account object that represents the account under which the MailItem is to be sent. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
Account SendUsingAccount { get; set; }

The SendUsingAccount property can be used to specify the account that should be used to send the MailItem when the Send method is called. This property returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the account specified for the MailItem no longer exists.

Show:
© 2014 Microsoft