views:

374

answers:

4

Dear all ,

I have developed an application that sends out mails and SMS. My question is How to send well formatted mails using Google App Engine for Java, Please suggest me anyone.

Thanks, Abhijit

+5  A: 

You send the e-mails using GAE mail service, of course.

If you're asking about formatting, one way to do it is with a Velocity template. This will give you a nice mail merge feature as well: populate the template with values from a database and send out your messages.

duffymo
+1  A: 

in addition to duffymo's answer you could try freemarker or StringTemplate that are other well supported and well documented Java Templating Libraries.

dfa
+1 - Both excellent suggestions.
duffymo
A: 

Thanks,

You rock. It's now sending formatted mails, I used Velocity.................

So why not mark the answer as "accepted"?
duffymo
A: 

I'm sorry. I'm new to stackoverflow.com. Please guide how to mark the answer as "Accepted"

Regards, Abhijit