_MailItem.SendUsingAccount Property

Definition

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

public:
 property Microsoft::Office::Interop::Outlook::Account ^ SendUsingAccount { Microsoft::Office::Interop::Outlook::Account ^ get(); void set(Microsoft::Office::Interop::Outlook::Account ^ value); };
public Microsoft.Office.Interop.Outlook.Account SendUsingAccount { get; set; }
Public Property SendUsingAccount As Account

Property Value

Remarks

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.

Applies to