_MailItem.Sender Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets an AddressEntry object that corresponds to the user of the account from which the MailItem is sent. Read/write.
public:
property Microsoft::Office::Interop::Outlook::AddressEntry ^ Sender { Microsoft::Office::Interop::Outlook::AddressEntry ^ get(); void set(Microsoft::Office::Interop::Outlook::AddressEntry ^ value); };
public Microsoft.Office.Interop.Outlook.AddressEntry Sender { get; set; }
Public Property Sender As AddressEntry
Property Value
Remarks
In a session where multiple accounts are defined in the profile, you can set this property to specify the account from which to send a mail item. Set this property to the AddressEntry object of the user that is represented by the CurrentUser property of a specific account.
If you set the Sender property to an AddressEntry that does not have permissions to send messages on that account, Outlook will raise an error.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기