Link Details

Link 898749 thumbnail
User 209965 avatar

By estherschindler
via blog.smartbear.com
Published: Dec 31 2012 / 12:46

Many applications need to send e-mail messages, for everything from server status updates to marketing messages, and some of these include photos, charts, or other images. You certainly have received plenty of email that contains images, but you may not know programmatically how to send such a thing from your Java code. In this article, I show the basics of using JavaMail, how to send HTML messages, and how to use MIME to create a multipart message that encloses the images, either as attachments, or as part of the message body.
  • 21
  • 0
  • 1634
  • 1556

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java