The Internet's "killer app" is not the World Wide Web or Push technologies: it is humble electronic mail. More people use email than any other Internet application. As the number of email users swells, and as email takes on an ever greater role in personal and business communication, Internet mail protocols have become not just an enabling technology for messaging, but a programming interface on top of which core applications are built.Programming Internet Email unmasks the Internet Mail System and shows how a loose federation of connected networks have combined to form the world's largest and most heavily trafficked message system.Programming Internet Email tames the Internet's most popular messaging service. For programmers building applications on top of email capabilities, and power users trying to get under the hood of their own email systems, Programming Internet Email stands out as an essential guide and reference book. In typical O'Reilly fashion,Programming Internet Email covers the topic with nineteen tightly written chapters and five useful appendixes.Following a thorough introduction to the Internet Mail System, the book is divided into five parts:
Part I covers email formats, from basic text messages to the guts of MIME. Secure email message formats (OpenPGP and S/MIME), mailbox formats and other commonly used formats are detailed in this reference section.
Part II describes Internet email protocols: SMTP and ESMTP, POP3 and IMAP4. Each protocol is covered in detail to expose the Internet Mail System's inner workings.
Part III provides a solid API reference for programmers working in Perl and Java. Class references are given for commonly used Perl modules that relate to email and the Java Mail API.
Part IV provides clear and concise examples of how to incorporate email capabilities into your applications. Examples are given in both Perl and Java.
Part V covers the future of email on the Internet. Means and methods for controlling spam email and newly proposed Internet mail protocols are discussed.
Appendixes to Programming Internet Email provide a host of explanatory information and useful references for the programmer and avid user alike, including a comprehensive list of Internet RFCs relating to email, MIME types and a list of email related URLs.
Programming Internet Email will answer all of your questions about mail and extend your abilities into this most popular messaging frontier.
Chapter 1 Electronic Mail on the Internet
Internet Email Standards
Tools of the Trade
The Basic Internet Email System
Chapter 2 Simple Text Messages
Internet Text Messages
Think Globally, Act Locally
Chapter 3 Multipurpose Internet Mail Extensions
Mail with Attitude
MIME Header Fields
Chapter 4 Creating MIME-Compliant Messages
The Minimal MIME Message
Nested Body Parts
A Few Interesting MIME Types
MIME Message Creation Gotchas
Chapter 5 OpenPGP and S/MIME
An Extremely Brief Introduction to Security Concepts
An Overview of OpenPGP and S/MIME
Combining Security and MIME
The OpenPGP Format
The S/MIME Format
Chapter 6 vCard
Personal Data Interchange with vCard
The vCard Version 3.0 Profile
Version 3.0 Housekeeping Types
Version 3.0 Identification Types
The vCard Version 2.1 Profile
Attaching vCards to Email Messages
Chapter 7 Mailbox Formats
Common mbox Variations
Variation for lMAP Mailboxes
Chapter 8 Mailcap Files
Mailcap File Format
Implementation Under Unix Operating Systems
Implementation Under Other Operating Systems
Chapter 9 The Extended Simple Mail Transfer Protocol
Chapter 10 The Post Office Protocol
Chapter 11 The Internet Message Access Protocol
The Nonauthenticated State
The Authenticated State
The Selected State
Chapter 12 The Application Configuration Access Protocol
The Nonauthenticated State
The Authenticated State
Chapter 13 Email-Related Perl Modules
Finding and Installing Perl Modules
Maturity of the Mail-Related Modules
Email-Related Modules Quick Reference
Chapter 14 The Java Mail API
An Overview of the Java Mail API
Java Mail API Reference
The javax.mail.internet Package
The javax.mail.search Package
The javax.mail.event Package
Chapter 15 Creating and Sending a Multipart Mail Message
Designing a MIME-Capable Replacement for /bin/mail
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Programming Internet Email is a spotted eagle, a member of the largest group of eagles, known as "booted eagles" for the feathering on their legs. This group is considered to be the most evolved eagle and one of the most evolved birds of prey in the world. They're large birds with long wings that allow them to be excellent at flying and soaring. They are superb hunters who prey on medium-to-large size game such as grouse, rabbits, and even young antelope and deer.Typically a spotted eagle will lay two eggs, but because of sibling rivalry early on, only one survives. Biologists have been able to take the younger nestling right after it's hatched, foster it out, and return it later when both youngsters become less aggressive to one another and will both survive.Spotted eagles are most commonly found in S. Asia, Africa, Eurasia, Middle East, and India. They can live to be over 20 years old, but are continually threatened by the ever-dwindling damp forest habitat that they call home. Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. The cover layout was produced by Kathleen Wilson using QuarkXPress 3.32 and Adobe's ITC Garamond font. The inside layout was designed by Alicia Cech, based on a series design by Nancy Priest. The text was formatted from SGML into FrameMaker 5.5 with Jade, using a DSSSL conversion stylesheet written by Chris Maden. The interior fonts are ITC Garamond Light, Garamond Book, and ConstantWillison.The illustrations that appear in this book were produced by Robert Romano and Rhon Porter using Macromedia Freehand 8 and Adobe Photoshop 5. The text was copyedited by Nancy Crumpton and proofread by Jennifer Owen. Nicole Arigo conducted quality assurance checks. The index was written by Nancy Crumpton. This colophon was written by Nicole Arigo.