JavaMail API: Sending and Receiving Email with Java

Elliotte Harold

Language: English

Publisher: O'Reilly Media

Published: Feb 15, 2013

Description:

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

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 Architecure & 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.