Sending SMTP email in VB


I would like to enable a server CGI program which uses CGI4VB to send an email reply in response to a form post.

What I'm looking for is a way to send email to an SMTP server directly without using any third party controls.

I'm sure someone must have working source code for this sitting on their hard drive which they could forward to me.

As it's a CGI I'm using there should be no form based controls and any winsock should be declared in the body - I don't know how to do this either.


Who is Participating?
ConniverConnect With a Mentor Commented:
njm123Author Commented:
One more thing - the email is only a short text message which will be less than a couple of KB long.

I don't need anything more advanced like binary encoded attatchments.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.