Я пытаюсь создать электронное письмо и сохранить его в папке черновиков пользователя, которая в настоящее время работает нормально.Однако электронная почта имеет гигантское поле «Кому» и не отправляется должным образом, когда пользователи отправляют электронную почту из папки черновиков.Есть идеи?Эта проблема, кажется, появляется только в Outlook 2016. В настоящее время это мой метод сохранения. ![enter image description here](https://i.stack.imgur.com/IlAPM.png)
public void Save(string saveToEmailAddress, string recipient, string subject, IEnumerable<MailAttachment> attachments)
{
try
{
// We need to impersonate the User whose account we are adding a Draft email to
_exchangeService.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, saveToEmailAddress);
var email = new EmailMessage(_exchangeService)
{
Subject = subject
};
email.ToRecipients.Add(recipient);
foreach (var attachment in attachments)
{
email.Attachments.AddFileAttachment(attachment.FileName, attachment.Content);
}
email.Save();
}
finally
{
// Stop impersonating the User account
// If this doesn't happen, any email sent from this Service
// will appear to be coming from the Impersonated account (not the Intranet)
_exchangeService.ImpersonatedUserId = null;
}
}