dcsimg

POP3 Client With Attachment

WEBINAR:
On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Environment: VC6 SP5, Windows 2000

Here is a simple COM server v.1.1 that is able to receive a mail messages and extract attached files. Base64 encoding is supported only. Look at the Eucalyptus sources for more encoding.

The POP3 realization was come from PJ Naughter code with some additional functions, the Base64 decoding was come from Eucalyptus. The COM server uses MFC because of CString. It is easy to avoid CString. It is easy to convert COM to class if you don't like COM. When received, the whole message is stored in memory. This may cause some problems with large messages. Unicode configuration is not supported.

History:

1.1
- fixed incorrect attachments handling. Some SMTP clients such as Outlook break the 'Content-Disposition' line into two parts. The program incorrectly processed attached files in this case.

Thanks PJ Naughter for the POP3 realization.
Thanks Paul A. Schifferer for the Eucalyptus - an advanced MIME-aware email application.
Thanks Zoroto for the comment about incorrect attachments handling.

Downloads

Download demo project - 88 Kb
Download source - 49 Kb


Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date