Solved

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

Posted on 2009-05-04
4
585 Views
Last Modified: 2013-11-29
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.
0
Comment
Question by:Elham_Seif
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:unlocktechnology
ID: 24293673
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.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 24293966
you can add a "reply-to" address: http://www.systemnetmail.com/faq/3.3.2.aspx
0
 

Author Closing Comment

by:Elham_Seif
ID: 31577893
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?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 24302889
You can put anything in the From property but be aware that the SMTP server can stop you.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question