Issue with SentOnBehalfOfName
i'm stack with Outlook issue where i want to change Email Sender . I want to send all emails from Outlook with one sender. When i change sender from Outlook it works fine but when i change it from Outlook plugin it's not work. I'm using following code: private void adxOutlookEvents_ItemSend(object sender, ADXOlItemSendEventArgs e) { if (e.Item is MailItem) { MailItem mail = e.Item as MailItem; mail.SentOnBehalfOfName = "UserName"; mail.Save(); return; } } But nothing happens. I don't see any error or exception but email come to Outlook with old sender. Can you please help me with that? UPDATED