Point taken. While this is a good place to share .NET, it's classes, and overall VB.NET functionality -- it isn't a code vault either. I'm not the administrator of this website, so the previous sentence is my initial understanding. I mean, if you want code examples there are sites for this. If you want help with your
existing code then this is the place to get it. To me, that seems to be the purpose of this forum.
No offense was taken from you. I understand where you are coming from but it also sounds like you expect this forum to be a place that was designed to be nothing like planet-source-code.com, for example. There are lots of sites like that, but few good forums like this. Especially geared specifically for VB.NET discussion.
As for how sending email works:
SMTP is command driven. In fact, you can start a Telnet session with an SMTP server and communicate with it. By knowing the commands to the SMTP protocol you can use Telnet or "automate" the process with your program code to compose and send an email message.
With a 5 second google search, I was able to locate a site that lists the SMTP commands:
http://www.networksorcery.com/enp/protocol/smtp.htm
Each command is sent as a String followed by a CrLf (carriage-return, line-feed) character. Ergo, ("RCPT
someuser@someemail.net" & vbCrLf)
In my earlier post, I stated that learning the System.Net.Sockets.Socket (winsock) class would be the first step to accomplishing this task. This can be learned by reading tutorials (the best way) or picking apart code examples (if that works for you, but many are sloppy and poorly written). Once you learn that, you will know how to apply SMTP commands in your own session with an SMTP server.
I hope that answers any and all questions on the subject. Further questions are welcome