You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Arsen A. Gutsal" <ar...@softsky.com.ua> on 2005/03/24 15:18:21 UTC
sendmail action problem
I use
<map:parameter name="src" value="cocoon:/registration_email.jx"/>
in sendmail action. And cocoon:/registration_email.jx returns correct
HTML file.
But sendmail action adds it as ATACHMENT to the email, but not as the
BODY.
This is a problem. Can someone help me?
--
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: sendmail action problem
Posted by "Arsen A. Gutsal" <ar...@softsky.com.ua>.
"body" can't be used if I want to put external resource there.
"src" should be used. I found solution.
I've added srcMimeType map parameter and it does work now! ;)
On Fri, 2005-03-25 at 16:16 +0800, Philippe Guillard wrote:
> Just suggestion cause i don't use this action, but docs say the name of
> the parameter for body is "body" and not "src"?
>
> Phil
>
> Arsen A. Gutsal wrote:
>
> >Forgot to mention that I'm using Cocoon 2.1.6
> >
> >On Thu, 2005-03-24 at 16:18 +0200, Arsen A. Gutsal wrote:
> >
> >
> >>I use
> >><map:parameter name="src" value="cocoon:/registration_email.jx"/>
> >>in sendmail action. And cocoon:/registration_email.jx returns correct
> >>HTML file.
> >>But sendmail action adds it as ATACHMENT to the email, but not as the
> >>BODY.
> >>
> >>This is a problem. Can someone help me?
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: sendmail action problem
Posted by Philippe Guillard <pg...@citycita.net>.
Just suggestion cause i don't use this action, but docs say the name of
the parameter for body is "body" and not "src"?
Phil
Arsen A. Gutsal wrote:
>Forgot to mention that I'm using Cocoon 2.1.6
>
>On Thu, 2005-03-24 at 16:18 +0200, Arsen A. Gutsal wrote:
>
>
>>I use
>><map:parameter name="src" value="cocoon:/registration_email.jx"/>
>>in sendmail action. And cocoon:/registration_email.jx returns correct
>>HTML file.
>>But sendmail action adds it as ATACHMENT to the email, but not as the
>>BODY.
>>
>>This is a problem. Can someone help me?
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: sendmail action problem
Posted by "Arsen A. Gutsal" <ar...@softsky.com.ua>.
Forgot to mention that I'm using Cocoon 2.1.6
On Thu, 2005-03-24 at 16:18 +0200, Arsen A. Gutsal wrote:
> I use
> <map:parameter name="src" value="cocoon:/registration_email.jx"/>
> in sendmail action. And cocoon:/registration_email.jx returns correct
> HTML file.
> But sendmail action adds it as ATACHMENT to the email, but not as the
> BODY.
>
> This is a problem. Can someone help me?
--
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org