Is there a way in .NET 2.0 to send email without the use of an SMTP server, or is a SMTP server have to be used?
Juan T. Llibre - 13 Sep 2007 15:39 GMT
You have to use an SMTP server...or a POP3 server.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
Is there a way in .NET 2.0 to send email without the use of an SMTP server, or is a SMTP server have to be used?
Roland Dick - 13 Sep 2007 16:05 GMT
Hi Mike,
Mike schrieb:
> Is there a way in .NET 2.0 to send email without the use of an SMTP
> server, or is a SMTP server have to be used?
you can access the network and send whatever you like with .NET, it just
doesn't have classes for all possible protocols. I am not aware of a
standard protocol for sending mail other than SMTP. What exactly are you
looking for?
If you just want to avoid the hassle of configuring a SMTP server
connection in your application, there is an option to write outgoing
mail to the IIS mail pickup directory from where a mail agent picks up
and processes mails. It is up to the mail agent to implement the sending
protocol then.
Hope this helps,
Roland
Peter Bromberg [C# MVP] - 13 Sep 2007 18:50 GMT
This article is old, and I cannot guarantee it still works in 2.0, but this
is how you do it:
http://www.eggheadcafe.com/articles/20030316.asp
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
> Is there a way in .NET 2.0 to send email without the use of an SMTP server, or is a SMTP server have to be used?