• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending a HTML mail  RSS feed

Azz Romaysa
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I want to send a HTML mail to the user using Java mail if the registration succevolly was made. As you know the method setContent has two attributes subject and content. The attribute content can be a String of an Object type.

The old method that I used to set the content is that I set all my HTML code in a String content. For example if I would like to send a HTML newsletter then it takes me a lot of time to do that.

Is there maybe a method to get the whole HTML code en set it in my content as an Object, String of StringBuffer???

This is my setContent methode

Thank you,
Abu Romaysa
[ June 12, 2005: Message edited by: Azz Romaysa ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!