'Macro send email, change 'from' Display Name but NOT email address
I have this:
.SentOnBehalfOfName = """Customer Service"" <[email protected]>"
the name "Customer Service" is officially associated with the email address. I'd like to change that display name to something else but keep using the same email address like this:
.SentOnBehalfOfName = """ABC Event CS"" <[email protected]>"
or
.SentOnBehalfOfName = """XYZ Event CS"" <[email protected]>"
But it always uses the default display name instead of the one I specify. Is it possible to achieve this in some way?
Solution 1:[1]
Exchange always uses the default name and the primary SMTP address when sending. If you want to change the display name and/or select one of the proxy addresses from a particular mailbox, sending through SMTP is the only option if you need to do that programmatically. In case of an end user, you can use a product like Proxy Manager (I am its author).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |