Quantcast
Channel: Send mail with not existing mailaccount as sender - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Send mail with not existing mailaccount as sender

$
0
0

I'm currently facing an obscure problem and I hope that someone might know an answer to this.

In the past, my company was working with Delphi 5. Email-sending was handled by a component called TNMSMTP. It's custom for these applications to use fake mail-adresses as an additional source of information. For example, if the service "ReceiveDelivery" on the server sv102 would encounter a problem, the mail adress would be ReceiveDelivery@sv102

I'm rather new here and try to convince management to make the step to .net programming. For that, I need to imitate the above behaviour by using the system.net.mail framework. However, whenever I try to use a fake mail address I receive the 5.7.1 "Client does not have permissions to send as this sender" exception. The new Program runs on the same server, under the same user and tries to access the same smtp server as the old delphi programs.

My question is: Can I somehow bypass this, or do I need to get back to Delphi for this to work?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images