Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
KarlDec  
#1 Posted : Wednesday, March 8, 2023 5:29:12 AM(UTC)
KarlDec

Rank: Newbie

Groups: Registered
Joined: 9/2/2022(UTC)
Posts: 0
Belgium

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"
ivan  
#2 Posted : Wednesday, March 8, 2023 9:16:31 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,148

Thanks: 9 times
Was thanked: 54 time(s) in 54 post(s)
Originally Posted by: KarlDec Go to Quoted Post
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.
Users browsing this topic
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.043 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.