You put me on the right track. I tried several addresses (which all work for "normal" mail traffic) but in my case, only the address that had the same domain than my mailserver worked.
Strange somehow, since, as I stated in my first post, the cocoon sendmail.xsp example works with the other accounts as well
Thanks again, Jasha


2006/6/29, Jasha Joachimsthal <[EMAIL PROTECTED] >:
Does the e-mail address exist? I mean did you try to copy the e-mail address that was filled in at that point, paste it to the to field in your mail client and see if the mail is being delivered?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: donderdag 29 juni 2006 9:39
To: [email protected]
Subject: Re: Issues with SendMailTransformer

Thanks for answering.
At the time I copied the error result, I had a different e-mail address in there and I changed it manually to the one I am using here.
So that wasn't the problem, only my slatternliness....


2006/6/29, Jasha Joachimsthal <[EMAIL PROTECTED]>:
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: woensdag 28 juni 2006 23:05
To: [email protected]
Subject: Issues with SendMailTransformer

Hello,

my sitemap:
<map:transformer name="sendmail" src="">     <smtphost>smtp.host</smtphost>
     <smtpuser>user</smtpuser>
     <smtppassword>password</smtppassword>
  </map:transformer>
.
.
<map:match pattern="htmlarea-success-pipeline">
       <map:generate type="jx" src=""
       <map:transform type="sendmail"/>
       <map:serialize type="xml"/>
     </map:match>


htmlarea_success.jx:
<?xml version="1.0" encoding="ISO-8859-1"?>
<document xmlns:email="http://apache.org/cocoon/transformation/sendmail ">
  <email:sendmail>
    <email:from> [EMAIL PROTECTED]</email:from>
    <email:to>#{email}</email:to>
    <email:subject>#{subject}</email:subject>
    <email:body>#{data1}</email:body>
   </email:sendmail>
</document>


I changed the htmlarea example to send mails, when submitting the form. But my result looks like that:

<document>
 <email:result>
        <email:failure to=" [EMAIL PROTECTED]">Invalid address</email:failure>
 </email:result>
</document>



[Jasha Joachimsthal] 
It tries to send the mail to <space>[EMAIL PROTECTED]. Maybe that's the problem.


Reply via email to