winzip icon

Send (SMTP) and Receive (POP3) Email with Ease under VB.NET

Submitted on: 1/6/2015 5:55:00 PM
By: David Ross Goben (from psc cd)  
Level: Intermediate
User Rating: By 18 Users
Compatibility: VB.NET
Views: 32675

Updated Text and code.

This Class Library includes an SMTP class that supports the sending of simple emails, or very complex emails that feature alternate views, such as Rich Text or HTML, attachments with customizable encoding, optional ports, SSL support, and many other features.

It also features a full-featured and fully-developed POP3 class that will allow you to easily receive email from a POP3 server.

It also includes a fully packed Utilities class. This includes a utility that will allow you to easily break an email down into its component parts. Other utilities allow you to easily decode quoted-pritable, base64-encoded, and Hex-encoded files. Another utility allows you to encode an 8-bit file into a 7-bit file with hex-tags. Still another utility will allow you to acquires a plain text version of HTML data. All this, and so very much more.

The included 58-page PDF manual explains every detail of each class and utility, how email is structured, how base64 and hex-tag encoding works, and makes sending and receiving email within a custom processor easy and fast.

winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net

Other 3 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

1/3/2016 2:27:27 PMDavid Spink

Thank you so much for this. Excellent piece of useful code and with comprehensive and interesting explanation and examples. Wonderful.
(If this comment was disrespectful, please report it.)

7/19/2016 10:09:56 AM

Please can anyone help me on how to implement the class? Don't know how to use on Windows forms.
(If this comment was disrespectful, please report it.)

6/15/2017 3:35:11 PMSteve Lore

Amazing documentation, I am having a issue with the speed that it downloads an email message with an attachment.

I've spent some time trying to increase the speed but so far no success.

Any thoughts?
(If this comment was disrespectful, please report it.)


Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.