WebSphere Commerce suite - How to send e-mail messegs in HTML format

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > February 2004 > How to send e-mail messegs in HTML format





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to send e-mail messegs in HTML format
Stephan Schwarzer

2004-02-01, 9:33 pm

Hi Newsgroup,

I want to send HTML formatted e-mails from WebSphere Commerce V5.4. As
far as I understand I can use a JSP template to generate the content of
the e-mail.

This works fine so far, but the e-mail messages that I receive are plain
text messages only. What do I have to do, to get HTML e-mails? Currently
I am doing this steps in my JSP but there must be something more:

response.setContentType("text/html; charset=UTF-8");

and then write the text

out.println("HTML formatted e-mail ...");

Thanks in advance!

Stephan

--

Please reply in this newsgroup only, I will not read e-Mails sent to
news@stephan-schwarzer.de.

Geo

2004-02-19, 12:33 pm

Did you set the MimeType

Stephan Schwarzer wrote:

> Hi Newsgroup,
>
> I want to send HTML formatted e-mails from WebSphere Commerce V5.4. As
> far as I understand I can use a JSP template to generate the content of
> the e-mail.
>
> This works fine so far, but the e-mail messages that I receive are plain
> text messages only. What do I have to do, to get HTML e-mails? Currently
> I am doing this steps in my JSP but there must be something more:
>
> response.setContentType("text/html; charset=UTF-8");
>
> and then write the text
>
> out.println("HTML formatted e-mail ...");
>
> Thanks in advance!
>
> Stephan
>


Stephan Schwarzer

2004-02-19, 5:33 pm

Geo wrote:

> Did you set the MimeType


According to the documentation I found, the MIMEType is set by
response.setContentType("text/html; charset=UTF-8");

Or do I have to set it in another statement? Or at another place rather
than in the JSP?

Stephan

--

Please reply in this newsgroup only, I will not read e-Mails sent to
news@stephan-schwarzer.de.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com