JavaMail API

JavaMail API

by Elliotte Rusty Harold

Paperback

$12.99
View All Available Formats & Editions
Choose Expedited Shipping at checkout for delivery by Friday, July 30

Overview

Send and receive email from Java applications by using the JavaMail API. With this concise book, you’ll learn how to communicate with existing SMTP, POP, and IMAP servers, and how to write your own.

Whether you need to build an email-centric application like a mailing list manager or simply add email notification to a larger product, JavaMail is the answer. Packed with code examples, this book shows you how JavaMail enables you to avoid low-level protocol details, so you can focus on what you actually want to say in a message.

  • Send, receive, and store email with POP3 and IMAP
  • Add password authentication to your programs
  • Manage mailboxes and accounts
  • Download mail attachments
  • Respond to asynchronous email events
  • Design protocol-independent email programs


Related collections and offers

Product Details

ISBN-13: 9781449367244
Publisher: O'Reilly Media, Incorporated
Publication date: 08/05/2013
Pages: 98
Product dimensions: 6.90(w) x 9.00(h) x 0.30(d)

About the Author

Elliotte Rusty Harold is originally from New Orleans to which he returns periodically in search of a decent bowl of gumbo. However, he currently resides in the Prospect Heights neighborhood of Brooklyn with his wife Beth and dog Thor. He's a frequent speaker at industry conferences including Software Development, Dr. Dobb's Architecture & Design World, SD Best Practices, Extreme Markup Languages, and too many user groups to count. His open source projects include the XOM Library for processing XML with Java and the Amateur media player.

Table of Contents

Preface;
Who You Are;
Java Versions;
Conventions Used in This Book;
Request for Comments;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Introducing the JavaMail API;
Chapter 2: Sending Email;
2.1 Sending Email from an Application;
Chapter 3: Receiving Mail;
Chapter 4: Password Authentication;
Chapter 5: Addresses;
5.1 The Address Class;
5.2 The InternetAddress Class;
5.3 The NewsAddress Class;
Chapter 6: The URLName Class;
6.1 The Constructors;
6.2 Parsing Methods;
Chapter 7: Messages and Parts;
7.1 Creating Messages;
7.2 Basic Header Info;
7.3 Flags;
7.4 The Part Interface;
7.5 Multipart Messages and File Attachments;
7.6 MIME Messages;
Chapter 8: Folders;
8.1 Opening Folders;
8.2 Managing Folders;
8.3 Managing Messages in Folders;
8.4 Subscriptions;
8.5 Listing the Contents of a Folder;
8.6 Checking for Mail;
8.7 Getting Messages from Folders;
8.8 Searching Folders;
8.9 Flags;
Chapter 9: Event Handling;
Epilogue: Email Past and Future;
Colophon;

Customer Reviews