Re: flow - sendmailaction - content

2003-06-01 Thread Christian Haul
Yan, Charlene wrote:
Chris,

Could you give me an example on attaching the url as an attachment please?  I was looking at www.cocooncenter.com sendmail example.  Do you attach the url in the sendmail.xsp or where?  I can't do much testing right now because my system is down.:( 
Please look at the samples. There is one in the mail block that attaches
several things (a URL included) to a mail using XSP and action.
	Chris.

--
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: flow - sendmailaction - content

2003-05-31 Thread Yan, Charlene
Chris,

Could you give me an example on attaching the url as an attachment please?  I was 
looking at www.cocooncenter.com sendmail example.  Do you attach the url in the 
sendmail.xsp or where?  I can't do much testing right now because my system is down.:( 

Thanks for your help.

Charlene

-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:11 AM
To: [EMAIL PROTECTED]
Subject: Re: flow - sendmailaction - content


On 28.May.2003 -- 11:27 AM, Frank Taffelt wrote:
> Hi,
> 
> a FlowScript question:
> 
> In my flowscript i wish to send email via the sendmailaction. The email
> should contain formatted content (HTML). How can i get the output from a
> pipeline into the flowscript?

In 2.1 you can pass a URLs to the action from which it obtains
attachments, eg cocoon://create_my_mail .

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: flow - sendmailaction - content

2003-05-28 Thread Frank Taffelt

> OTOH why is it a problem to send a mail with attachments but no body?

maybe it's only a problem of the mua. When opening such a mail, i have a
blank screen and have to open the attachment.

Frank


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: flow - sendmailaction - content

2003-05-28 Thread Christian Haul
On 28.May.2003 -- 01:37 PM, Frank Taffelt wrote:
> > In 2.1 you can pass a URLs to the action from which it obtains
> > attachments, eg cocoon://create_my_mail .
> 
> Yes i tried this and it works. But i won't use attachements. It would be
> nice, if the body (usually plaintext or html) could be treated the same way.
> Do you have a hint ?

Look at 

src/blocks/mail/java/org/apache/cocoon/acting/Sendmail.java
src/blocks/mail/java/org/apache/cocoon/mail/MailMessageSender.java

the first is really only a wrapper for the latter and feeds sitemap
parameters to the MailMessageSender.

OTOH why is it a problem to send a mail with attachments but no body?

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: flow - sendmailaction - content

2003-05-28 Thread Frank Taffelt
> In 2.1 you can pass a URLs to the action from which it obtains
> attachments, eg cocoon://create_my_mail .

Yes i tried this and it works. But i won't use attachements. It would be
nice, if the body (usually plaintext or html) could be treated the same way.
Do you have a hint ?


Frank


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: flow - sendmailaction - content

2003-05-28 Thread Christian Haul
On 28.May.2003 -- 11:27 AM, Frank Taffelt wrote:
> Hi,
> 
> a FlowScript question:
> 
> In my flowscript i wish to send email via the sendmailaction. The email
> should contain formatted content (HTML). How can i get the output from a
> pipeline into the flowscript?

In 2.1 you can pass a URLs to the action from which it obtains
attachments, eg cocoon://create_my_mail .

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



flow - sendmailaction - content

2003-05-28 Thread Frank Taffelt
Hi,

a FlowScript question:

In my flowscript i wish to send email via the sendmailaction. The email
should contain formatted content (HTML). How can i get the output from a
pipeline into the flowscript?

thanks in advance,
Frank


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SendMailAction?

2003-03-18 Thread Stephan Niedermeier
> On Tue, 18 Mar 2003 12:14:18 +0100
> Scherler <[EMAIL PROTECTED]> wrote:
> 
> > Hi Stephan,
> > 
> > I never heard about the sendmailaction. Sorry, but if you have to pass
> > the email body as a sitemap parameter I think it is not really allways
> > the way to go.
> > http://www.mail-archive.com/[EMAIL PROTECTED]/msg12040.html
> > 
> 
> Hi,
> 
> I've worked on the sendmail.xsl logicsheet and the SendmailAction.java
> in the past weeks. My work is currently with Christian Haul for review.
> If he finds it acceptable, I would think, that it will end up in CVS
> sometime soon.
> 
> If you are interested, I can send you copy directly. This includes 
> documentation for logicsheet and action.

Hello,

I'am very interested. Would you send a copy to me?

Thank you very much.

Best regards
Stephan Niedermeier


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SendMailAction?

2003-03-18 Thread Scherler
Frank Ridderbusch wrote:

On Tue, 18 Mar 2003 12:14:18 +0100
Scherler <[EMAIL PROTECTED]> wrote:
 

Hi Stephan,

I never heard about the sendmailaction. Sorry, but if you have to pass
the email body as a sitemap parameter I think it is not really allways
the way to go.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12040.html
   

Hi,

I've worked on the sendmail.xsl logicsheet and the SendmailAction.java
in the past weeks. My work is currently with Christian Haul for review.
If he finds it acceptable, I would think, that it will end up in CVS
sometime soon.
If you are interested, I can send you copy directly. This includes 
documentation for logicsheet and action.

 

I was looking for this a long time.
I would appreciate a copy of you work and documentation. Have you add 
attachments?

King regards
Thorsten
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SendMailAction?

2003-03-18 Thread Frank Ridderbusch
On Tue, 18 Mar 2003 12:14:18 +0100
Scherler <[EMAIL PROTECTED]> wrote:

> Hi Stephan,
> 
> I never heard about the sendmailaction. Sorry, but if you have to pass
> the email body as a sitemap parameter I think it is not really allways
> the way to go.
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg12040.html
> 

Hi,

I've worked on the sendmail.xsl logicsheet and the SendmailAction.java
in the past weeks. My work is currently with Christian Haul for review.
If he finds it acceptable, I would think, that it will end up in CVS
sometime soon.

If you are interested, I can send you copy directly. This includes 
documentation for logicsheet and action.

-- 
MfG/Regards

Frank Ridderbusch

Since I have taken all the Gates out of my computer, it finally works!!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SendMailAction?

2003-03-18 Thread Scherler
Hi Stephan,

I never heard about the sendmailaction. Sorry, but if you have to pass 
the email body as a sitemap parameter I think it is not really allways 
the way to go.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12040.html

Stephan Niedermeier wrote:

That you need for it:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18506.html
How it work wih java:
http://www.javacommerce.com/articles/sendingmail.htm
About the sendmail logicsheet:
http://members.iinet.net.au/~xions/jigsaws/sendmail.html
you wrote:

I'm sorry, but I'm searching for the Action (Java class) not for the
logicsheet.
-> the logicsheet is an implementation of JavaMail API:
http://java.sun.com/products/javamail/JavaMail-1.2.pdf
   

I thought, that there is a SendMailAction I can use as action. Please have a
look into the mailarchive:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12026.html
I didn't find additional informations about this strange SendMailAction.

Best regards
Stephan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SendMailAction?

2003-03-18 Thread Stephan Niedermeier
> That you need for it:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg18506.html
>
> How it work wih java:
> http://www.javacommerce.com/articles/sendingmail.htm
>
> About the sendmail logicsheet:
> http://members.iinet.net.au/~xions/jigsaws/sendmail.html
>
> you wrote:
>
> I'm sorry, but I'm searching for the Action (Java class) not for the
> logicsheet.
>
> -> the logicsheet is an implementation of JavaMail API:
> http://java.sun.com/products/javamail/JavaMail-1.2.pdf
>

I thought, that there is a SendMailAction I can use as action. Please have a
look into the mailarchive:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg12026.html

I didn't find additional informations about this strange SendMailAction.


Best regards
Stephan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SendMailAction?

2003-03-18 Thread Scherler
That you need for it:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18506.html
How it work wih java:
http://www.javacommerce.com/articles/sendingmail.htm
About the sendmail logicsheet:
http://members.iinet.net.au/~xions/jigsaws/sendmail.html
you wrote:

I'm sorry, but I'm searching for the Action (Java class) not for the
logicsheet.
-> the logicsheet is an implementation of JavaMail API:
http://java.sun.com/products/javamail/JavaMail-1.2.pdf
the cocoon\src\java\org\apache\cocoon\components\language\markup\xsp\java\sendmail.xsl
after using it is compiled to your class! you will find it after you have used in your 
webapp within the work dir of tomcat.
Hope that helps

Stephan Niedermeier wrote:

Stephan Niedermeier wrote:

   

Hello,

i couldn't find the SendMailAction in the cocoon.jar. Can anyone tell
me, where I can found this class?
Thanks.

Greetings
Stephan
 

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104790860126005&w=2
   

I'm sorry, but I'm searching for the Action (Java class) not for the
logicsheet.
Thank you.

Best regards
Stephan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SendMailAction?

2003-03-18 Thread Stephan Niedermeier
> Stephan Niedermeier wrote:
>
> > Hello,
> >
> > i couldn't find the SendMailAction in the cocoon.jar. Can anyone tell
> > me, where I can found this class?
> >
> > Thanks.
> >
> > Greetings
> > Stephan
>
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104790860126005&w=2

I'm sorry, but I'm searching for the Action (Java class) not for the
logicsheet.

Thank you.

Best regards
Stephan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SendMailAction?

2003-03-18 Thread Scherler
Stephan Niedermeier wrote:

Hello,
 
i couldn't find the SendMailAction in the cocoon.jar. Can anyone tell 
me, where I can found this class?
 
Thanks.
 
Greetings
Stephan
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104790860126005&w=2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SendMailAction?

2003-03-18 Thread Stephan Niedermeier



Hello,
 
i couldn't find the SendMailAction in the 
cocoon.jar. Can anyone tell me, where I can found this class?
 
Thanks.
 
Greetings
Stephan