In this tutorial of 100+ pages, you can get every thing which is mainly related to build a complete web based email system. this artical will cover everthing of SMTP, POP3, MIME and HTTP. you can get a lot of material regarding to different Coding and encoding methods like BASE64 & Quoted Printable. a far better option to read this tutorial instead of reading RFCs.
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:
Re-scan downloaded files using your personal virus checker before using it.
NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Scan the source code with Minnow's Project Scanner
If you don't have a virus scanner, you can get one at many places on the net
including:McAfee.com
Terms of Agreement:
By using this article, you agree to the following terms...
You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
From the docs we can't get any material about detecting the attachments in the mails . If you know this please send it 2 me on np80@gmx.co.uk (If this comment was disrespectful, please report it.)
thank you thank you thank you! This document explained many things i have always heard about, but could find no definate, well structured information on! (If this comment was disrespectful, please report it.)
Necessary for all those who want to learn about the e-mail systems. Fasicanting! I have found all the material here helpful. The material is presented in an new and fresh way which helps all the readers in understanding. (If this comment was disrespectful, please report it.)
As far as im concerned it does not matter if you rip code from sources outside PSC. as long as you credit the real authors. I sence alot of jellousy here, why dont you lot stop complaining and worrie about your own submissions! (If this comment was disrespectful, please report it.)
I need the SMTP commands for authenticating a user. Did not find ith here on PSC. Any Ideas? (Mail Me) (If this comment was disrespectful, please report it.)
3/10/2003 2:12:39 AM:
hey its really useful (If this comment was disrespectful, please report it.)
3/10/2003 2:13:42 AM:
hey its really useful 4 me (If this comment was disrespectful, please report it.)
3/31/2003 2:32:20 AM:
Great tut :) (If this comment was disrespectful, please report it.)
5/26/2004 2:49:18 PM:
Bem.. a muito tempo eu procurava um grande tutorial sobre como desenvolver aplicacoes tcp/ip diretamente sem ter q utilizar ocx ou dll EXELENTE (If this comment was disrespectful, please report it.)
My email is lifeisliberty@rediffmail.com, I just wanted to ask is there any code by which you can search for a smtp server Or pop3 server or so...... if so pls let know. (If this comment was disrespectful, please report it.)
how can i get the email address and subject in my program when someone click on email address like some email client does. any help? (If this comment was disrespectful, please report it.)
10/6/2004 4:43:01 AM:
how can i detect there's an attachment in emails? and it seems the attachment is encoded...can i get the original form of the attachment (If this comment was disrespectful, please report it.)
actually its not difficult to figure out. u know that a mime compliant mail messege can have multiple body parts and every part consistes of two parts: header and body part. all u need to do is to look for "Content-Disposition: attachment; filename="something.something" attribute. if it is there then it means the contents in the body is an attachment. for encoding u need to look for Content-Transfer-Encoding: **** like attribute.. normally we require quoted printable and base64 encoding and decoding modules and all these modules are available on the pscode. need more help? drop me an email. (If this comment was disrespectful, please report it.)
2/12/2005 7:40:00 AM:
very nice good . thankx (If this comment was disrespectful, please report it.)
thank uuuuuuuuuuuuuu for this and i try to complete it to complete it for using many many type of the coding techniques (If this comment was disrespectful, please report it.)
Ya U Dont know About Server I Think it's a wast for Adv user's (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 article, please
click here instead.)