Link to home
Start Free TrialLog in
Avatar of Elham_Seif
Elham_Seif

asked on

Is there a way to send an email using C# without setting a SMTP Client?

In my application in C#, I'd like to send an email but I don't want the receiver to reply to my eamil. But in SMTP way I have to put my email address in From property.
Is there a way that I can send emails without SMTP.
Avatar of unlocktechnology
unlocktechnology

just set your 'from' address as "do-not-reply@xxx.com". you can send email other ways but you will always have to specify the sending address.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Elham_Seif

ASKER

Thanks. I accepted your answer. When I send the email with reply-to property set to "A@myweb.com" and if the sender is "B@myweb.com" , the receiver see B@myweb.com as the sender but when he click on reply button, he will reply to A@myweb.com.  Is there a way that I can hide B@myweb.com and change it in a way that the receiver just see A@myweb.com as sender.
I saw some websites that are doing it but I don't know how.
For exmaple if you go to www.bbc.com and select a news, then at the buttom of the page they have a "send to a freind " option that you can send an email to a freind. Your freind will receive the message with your email address as Sender! Notice that you didn't login to your email and send the message to your freind, you just insert your email address on BBC website.
Do you know how they can do it?
You can put anything in the From property but be aware that the SMTP server can stop you.