template based email l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Template-based Email PowerPoint Presentation
Download Presentation
Template-based Email

Loading in 2 Seconds...

  share
play fullscreen
1 / 11
mikkel

Template-based Email - PowerPoint PPT Presentation

95 Views
Download Presentation
Template-based Email
An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Template-based Email Sean C. Sullivan March 22, 2005 Portland Java Users Group

  2. Agenda • Email templates • StringTemplate • JavaMail • MIME

  3. Using email templates SMTP server Java application Email Template Email Template Mail client

  4. StringTemplate http://www.stringtemplate.org/

  5. StringTemplate 101 <p> Hello $name$ </p>

  6. StringTemplate 101 import org.antlr.stringtemplate.*; StringTemplate t = ... t.setAttribute("name", "Napoleon"); System.out.println(t.toString());

  7. StringTemplate API

  8. StringTemplate API

  9. JavaMail API http://java.sun.com/products/javamail/javadocs/index.html

  10. Demo J2SE 5.0 Thunderbird 1.0 Template StringTemplate 2.1 James 2.2.0

  11. Summary • StringTemplate • JavaMail • MIME