Rank: Newbie
Groups: Registered
Joined: 9/2/2022(UTC)
Posts: 0
Hi, I use code to send mail using my office365 mailbox. This is working fine. But i am not able to change the sender NAME . Is this not possible, or ... ? Dim Mail As SmtpMail = New SmtpMail(".....") Mail.From.Address = "mail@address.com Mail.From.name = "Name of the sender"
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,152
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: KarlDec Hi, I use code to send mail using my office365 mailbox. This is working fine. But i am not able to change the sender NAME . Is this not possible, or ... ? Dim Mail As SmtpMail = New SmtpMail(".....") Mail.From.Address = "mail@address.com Mail.From.name = "Name of the sender"
Mail.From.Name is the right way, however, the Office 365 will change the name back to the display name in active directory, there is no way to change this behavior.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.