WebSphere Commerce suite - Format of E-mail activity templates

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > April 2006 > Format of E-mail activity templates





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 Format of E-mail activity templates

2005-11-28, 7:51 am

Hi,

according to http://publib.boulder.ibm.com/infoc...pts/ceaover.htm "E-mail activity templates are JavaServer Pages, which define the address and subject of the e-mail, in addition to the content.
"

The problem is, that I didn't find any further information about the structure of jsp template. Right now, the content generated by jsp template is simply considered to be body of the email, BUT.. the same content is used as subject of the email.

So my question is: do someone know HOW to define subject in Email activity JSP template? Example or link to some documentation would be nice.

Thanks

Tomash
Robert Brown

2005-11-29, 2:51 am

First off, refer to the SendMsgCmdImpl API:

http://publib.boulder.ibm.com/infoc...MsgCmdImpl.html

and the WishListMessageConfirmationDisplay.jsp within a ConsumerDirect
SAR sample store.

You can set the 'subject' (i.e. Subject Line), 'address' (i.e. Recipient
email addresses), etc. using the setConfigData() method overriding the
transport's default settings for the particular message type you are
working with.

There is also another sample for email marketing in the
<WC_Install_Root>/samples/emailactivity/web that you might find useful.

R

> Hi,
>
> according to http://publib.boulder.ibm.com/infoc...pts/ceaover.htm "E-mail activity templates are JavaServer Pages, which define the address and subject of the e-mail, in addition to the conten

t."
>
> The problem is, that I didn't find any further information about the structure of jsp template. Right now, the content generated by jsp template is simply considered to be body of the email, BUT.. the same content is used as subject of the email.
>
> So my question is: do someone know HOW to define subject in Email activity JSP template? Example or link to some documentation would be nice.
>
> Thanks
>
> Tomash

2006-04-11, 10:18 am

Here's an excerpt from the information center

1. If the URL query string requesting the JSP contains the "returnSubject=true" parameter, then the JSP should render only what would be on the subject line of the e-mail message.
2. If the URL query string requesting the JSP does not contain the "returnSubject=true" parameter (that is, it is set to anything but "true", or does not exist), then the JSP should render the content of the e-mail message, except for the subject line dat
a.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com