You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Vennegoor.Marieke" <Ve...@kpmg-ct.com> on 2004/06/09 10:35:18 UTC

sending mail with the help of Lenya

Hi!
I want to send an email from my Lenya publication. I found some
documentation about this at next link:
http://cocoon.apache.org/lenya/docs/components/tasks/mailtask.html
I followed the instructions (making the task and pipeline) but no email is
send. I'm redirected to my confirmation page but the mail task isn't
performed. There is also no error raised and I can't find anything in the
Lenya log or Tomcat log. Do you have any suggestion of what went wrong or
where I can have a look to see what happened? Or is there any other
documentation about this subject?
Regards,
Marieke


Re: sending mail with the help of Lenya

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Jann Forrer wrote:

> What is the difference betweent the mailhost configuration in
> lenya/pubs/<pubname>/config/tasks/targets.xml ant the one in
> WEB-INF/classes/org/apache/lenya/net/conf.properties?
> 
> Within our publication we did not change the setting within
> conf.properties but in the targets.xml.

i am not sure if the mail task uses the SMTP class. i think there is a 
mail action that does. two means to the same end. room for consolidation..

honestly this whole mail stuff predates the mail block and should be 
replaced in favor of the mail block

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26955

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

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


Re: sending mail with the help of Lenya

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Wed, 9 Jun 2004, Gregor J. Rothfuss wrote:

> Vennegoor.Marieke wrote:
>
> > I want to send an email from my Lenya publication. I found some
> > documentation about this at next link:
> > http://cocoon.apache.org/lenya/docs/components/tasks/mailtask.html
> > I followed the instructions (making the task and pipeline) but no email is
> > send. I'm redirected to my confirmation page but the mail task isn't
> > performed. There is also no error raised and I can't find anything in the
> > Lenya log or Tomcat log. Do you have any suggestion of what went wrong or
> > where I can have a look to see what happened? Or is there any other
> > documentation about this subject?
>
> did you configure your mail host in
> WEB-INF/classes/org/apache/lenya/net/conf.properties
>
What is the difference betweent the mailhost configuration in
lenya/pubs/<pubname>/config/tasks/targets.xml ant the one in
WEB-INF/classes/org/apache/lenya/net/conf.properties?

Within our publication we did not change the setting within
conf.properties but in the targets.xml.

Jann

---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  jann.forrer@id.unizh.ch
(  )   phone: +41 1 63 56772
 \ (   fax:   +41 1 63 54505
  \_)  http://www.id.unizh.ch

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


Re: sending mail with the help of Lenya

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Vennegoor.Marieke wrote:

> I want to send an email from my Lenya publication. I found some
> documentation about this at next link:
> http://cocoon.apache.org/lenya/docs/components/tasks/mailtask.html
> I followed the instructions (making the task and pipeline) but no email is
> send. I'm redirected to my confirmation page but the mail task isn't
> performed. There is also no error raised and I can't find anything in the
> Lenya log or Tomcat log. Do you have any suggestion of what went wrong or
> where I can have a look to see what happened? Or is there any other
> documentation about this subject?

did you configure your mail host in 
WEB-INF/classes/org/apache/lenya/net/conf.properties

?

please also file a bug about moving this configuration from its current 
obscure place to the admin GUI.

hope this helps,

-gregor

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

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