Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Smtp mail configure

$
0
0

Hello,

Im facing the following issue,

Send mail using .net smtp classes:

Exchange mail account Configuration :khalil@khalildomain.com With the Name "Khalil"

From Mail : khalil@khalildomain.com

From Name : "Khalil Alias"

To : myFriend@khalildomain.com

To : myGirlFriend@externaldomain.com

The mail sent to the myFriend and the From Name appears "Khalil Alias", it's working as expected.

The mail sent to the myGirlFriend and the From Name appears "Khalil Alias", it's working as expected.

For one of my clients im facing the following:

Exchange mail account Configuration : do-not-reply@clientdomain.com With the Name "simpleOrg"

Send email using .net smtp:

From Mail : do-not-reply@clientdomain.com

From Name : "oraora"

To : user1@clientdomain.com

To : user2@microsoft.com

The mail sent to the user1 and the From Name appears "simpleOrg", it's not working as expected it replaced the"oraora".

The mail sent to the user2 and the From Name appears "oraora", it's working as expected.

I think it is related to Smtp Exchange server, but which configuration and how to disable overriding the accepted from name text, i need to know ?

Thnx,

Khalil


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>