I have been looking for a way to send email and have found many ways to do it. All of them require an SMTP server though.
Is their anyway to run an SMTP server "in" my program (minimized to tray) on localhost at all times
Or is their a better way, such as open smtp servers etc. Thanks.

Send Email...
Mennis
That link seemed to mention how to send an email but I want to know if it is possible to do it without a remote smtp server.
Does this code below require an SMTP server It doesn't look like it...
http://www.eggheadcafe.com/articles/20030316.asp
After testing out the above code it worked well...But for certain servers like hotmail.com. gmail.com, and scanamerican.com it failed. The C++ code below seems like it might work better...Is their any way for me to use this in C# without hand converting it
http://www.codeproject.com/tips/CSMTPConnection2.asp
Thanks
GadgetGuy
http://en.wikipedia.org/wiki/SMTP
http://www.microsoft.com/technet/technetmag/issues/2005/11/HowITWorksSMTP/default.aspx
There are many components that can do this:
http://www.xtras.net/products/easymaildotnet/ is one.
From their website:
"Direct sending of messages to recipients. No local SMTP server required "
You can use keywords from that description to find more.
FredrikRN
That is exactly what I said!
You need a server to deliver the message. I know you don't need an email client (like eudora, outlook etc) to send the message, instead you can throw smtp commands on the server's smtp port (perhaps using telnet), after, the server will deliver the message querying (as DNS queries) for the appropriate domain. Here is an example just for your information:
HELO <a valid email address>
MAIL FROM: <sender's email> (but there are tricks to send without this)
RCPT TO:<recipient's email>
RCPT TO:<add the number of recipients you want>
DATA
<add here additional message header information>
press enter twice to start the body
and finally, two periods to finish
Conclusion..., you always post an email message through an SMTP server!!
be good!
Luciano_2k
methjy
IIS comes with an SMTP server so you can install it and test it. It can not deliver emails outside of your network until you specify a valid internet DNS server and configure minimal settings. IIS doesn't come with a pop3 service so you just can deliver.
You can not send an email by yourself, you always need a server to deliver.
Hope this helps