Re: Cocoon 2.2 and sendmail

2011-05-12 Thread Grégory Roche
Thank Andy for your comments, I have understands and now I can send and receved emails. The transformer Sendmail don't use the authentication, but the action sendmail do that :

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Andre Juffer
The generated XML seems fine. Possible, the Invalid address message is a response from smtp.polymorphisme.org. It may be that the email address itself is OK, but the protocol for accepting emails is wrong. Port 25 suggests that you assume no connection security and no authentication either. Tha

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Grégory Roche
Ok, now, I have a minimal pipeline : and my file sendmail.xml (an exemple is on the page http://cocoon.apache.org/2.2/blocks/mail/1.0/1099_1_1.html) : http://apache.org/cocoon/transformation/sendmail";> smtp.polymorphisme.org 25

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Andre Juffer
One way to find out what is happening is to remove (comment out) the and have a look at the generated XML e.g. in your browser with: http://foo.bar.com/sendmail?name=roche&email=webmas...@polymorphisme.org There may be just a simple error in the generated XML that sendmail receives. On 09/

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Andy Stevens
What mail server host are you sending the mail through? Perhaps it's set up to prevent relaying and your message is being rejected because of the address(es) involved? Andy -- http://pseudoq.sourceforge.net/ On 9 May 2011 09:19, "Grégory Roche" wrote: > > > So, > > I have change my pipeline ! I

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Grégory Roche
So, I have change my pipeline ! I add the transformer for the emails : That it's good :) But then I send an email, I have the reponce : <:result xmlns="http:/

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Andy Stevens
2011/5/9 Grégory Roche : > I'm trying send email with Cocoon 2.2. > ... > and in my sitemap.xmap, I have my tramsformer sendmail : > >     src="org.apache.cocoon.mail.transformation.SendMailTransformer"/> > > and a pipeline for my test : > >   >     >     >   value

Re: Cocoon 2.2 and sendmail

2011-05-09 Thread Søren Krum
Hi! Did you check that the jars you mention are not included over the dependency cocoon-mail-impl? If not, you could add these dependencies in your pom, then you should get them in your build. -- Med vennlig hilsen / kind regards Søren D. Krum Systemutvikler/system developer UNINETT FAS + 47 73

Cocoon 2.2 and sendmail

2011-05-08 Thread Grégory Roche
Hi, I'm trying send email with Cocoon 2.2. So, I have in my pom.xml the dependency : org.apache.cocoon cocoon-mail-impl 1.0.0 and in my sitemap.xmap, I have my tramsformer sendmail : and a pipeline for my test :