[Opensource] How do generate html email within expresso

Michael Rimov rimovm at centercomp.com
Sat Jun 15 22:23:27 PDT 2002


At 11:08 AM 6/14/2002 +1000, you wrote:
>Currently we generate text based messages from our application - code call 
>to the user object is shown below.
>
>User user = new User();
>user.setUid(Uid);
>user.retrieve();
>try {
>     user.notify(sSubject ,sEmailContent);
>}
>
>The question is - how do we generate html based messages within a controller ?

Hi Eddie!

Actually, the Expreso email classes don't support html mail right now.  You 
can send html email at the JavaMail API level by specifying the 
content-type as "text/html" and it works from there.  I found some good 
docs on that at jguru.com

HTH!
                                                 -Mike




More information about the Opensource mailing list