You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Mann, David" <da...@matrixone.com> on 2005/03/14 12:04:18 UTC

email notifications on publish

I'm running 1.2.2 and have set up email notifications. They do send an
email, but they are relatively plain and don't have a subject line. The
email appears to come from the submitter and has the message the submitter
typed in the message box, but there is no subject etc. Is there info
somewhere on how to set the subject line and/or send more complex emails?
(i.e. html with a link to the submitted page) Is there documentation
somewhere on this?
Thanks,
DCM
 


  _____  





David Mann | Solutions Manager | MatrixOne Expert Services
Cell: +33 (0) 6 74 79 40 11 | Fax: +33 (0) 1 69 41 82 93
 <ma...@matrixone.com> david.mann@matrixone.com |
skype:david.c.mann <callto://david.c.mann/>  | blackberry: 201436DB

Espace Technologique de Saint-Aubin | Immeuble Apollo | SAINT-AUBIN | 91195
GIF sur YVETTE CEDEX  | FRANCE
PGP Fingerprint: 8C80 0C44 B1FF E069 776B  6299 84EA DE7A F81C 199B
"Changing the Way the World Brings Products to Market"

The information in this email and subsequent attachments may contain legally
privileged, proprietary and confidential information that is intended for a
particular recipient.  If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution, retention or use of the
contents of this e-mail information is prohibited. When addressed to
MatrixOne clients or vendors, any information contained in this e-mail is
subject to the terms and conditions in the governing contract.  If you have
received this e-mail in error, please immediately notify us by telephone or
by return e-mail, and delete the e-mail. 

 
 

Re: email notifications on publish

Posted by "Gregor J. Rothfuss" <gr...@wyona.com>.
Mann, David said:
> I'm running 1.2.2 and have set up email notifications. They do send an
> email, but they are relatively plain and don't have a subject line. The
> email appears to come from the submitter and has the message the submitter
> typed in the message box, but there is no subject etc. Is there info
> somewhere on how to set the subject line and/or send more complex emails?
> (i.e. html with a link to the submitted page) Is there documentation
> somewhere on this?
> Thanks,
> DCM

the no subject thing is a bug. it is passed as a hidden parameter in
http://svn.apache.org/viewcvs.cgi/*checkout*/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/notification/message2xslt.xsl?rev=154166

mail is sent using the mail task:

http://svn.apache.org/viewcvs.cgi/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/mail/MailTask.java?rev=109972&view=markup

which gets invoked from the notification target here:

http://svn.apache.org/viewcvs.cgi/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/tasks/targets.xml?rev=151073&view=markup

please add to http://issues.apache.org/bugzilla/show_bug.cgi?id=29158 and
http://issues.apache.org/bugzilla/show_bug.cgi?id=29610 as necessary, or
open new bugs.

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org