Book 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
Publisher resources
Table of contents
- Preface
- 1. Introducing the JavaMail API
- 2. Sending Email
- 3. Receiving Mail
- 4. Password Authentication
- 5. Addresses
- 6. The URLName Class
- 7. Messages and Parts
- 8. Folders
- 9. Event Handling
- Epilogue: Email Past and Future
- About the Author
- Colophon
- Copyright
Product information
- Title: JavaMail API
- Author(s):
- Release date: July 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449367244
You might also like
book
Java APIs, Extensions and Libraries: With JavaFX, JDBC, jmod, jlink, Networking, and the Process API
This book completes the Apress Java learning journey and is a comprehensive approach to learning Java …
book
Scripting in Java: Integrating with Groovy and JavaScript
Scripting in Java teaches you how to use the Java Scripting API and JavaScript to execute …
book
Beginning EJB in Java EE 8: Building Applications with Enterprise JavaBeans
Build powerful back-end business logic and complex Enterprise JavaBeans (EJB)-based applications using Java EE 8, Eclipse …
book
Java 13 Revealed: For Early Adoption and Migration
Explore the new Java programming language features and APIs introduced in Java 10 through Java 13. …