template based email
Download
Skip this Video
Download Presentation
Template-based Email

Loading in 2 Seconds...

play fullscreen
1 / 11

Template-based Email - PowerPoint PPT Presentation


  • 82 Views
  • Uploaded on

Template-based Email. Sean C. Sullivan March 22, 2005 Portland Java Users Group. Agenda. Email templates StringTemplate JavaMail MIME. Using email templates. SMTP server. Java application. Email Template. Email Template. Mail client. StringTemplate.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Template-based Email' - mikkel


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
template based email

Template-based Email

Sean C. Sullivan

March 22, 2005

Portland Java Users Group

agenda
Agenda
  • Email templates
  • StringTemplate
  • JavaMail
  • MIME
using email templates
Using email templates

SMTP

server

Java application

Email

Template

Email

Template

Mail

client

stringtemplate
StringTemplate

http://www.stringtemplate.org/

stringtemplate 101
StringTemplate 101

Hello $name$

stringtemplate 1016
StringTemplate 101

import org.antlr.stringtemplate.*;

StringTemplate t = ...

t.setAttribute("name", "Napoleon");

System.out.println(t.toString());

javamail api
JavaMail API

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

slide10
Demo

J2SE 5.0

Thunderbird 1.0

Template

StringTemplate 2.1

James 2.2.0

summary
Summary
  • StringTemplate
  • JavaMail
  • MIME
ad