Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

send email

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 13 Sep 2007 15:24 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.