Hello Matthew, 

> -----Original Message-----
> From: Matthew Monkan [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 3 juni 2008 23:29
> To: [email protected]
> Subject: SendMail Transformer (Cocoon 2.1.11, Windows XP)
> 
> 
> Okay, I'm having more trouble than I probably should with 
> mail in Cocoon. I made the smallest possible application, 
> which was fine. I'm okay with the XML and sitemap. I just 
> need clarification on what exactly needs to be done with the 
> mail.jar and activation.jar files.
> 
> I have the Cocoon folder on my C:\ drive and my app is in 
> cocoon's build\webapp\ directory.
> (C:\cocoon\build\webapp\mail)
> 
> There is a lib folder at the root directory and a lib folder 
> in the build\webapp\WEB-INF directory. Which do I need to worry about?

I don't know which version of the documentation you are looking at, but
[1] mentions WEB-INF/lib
 
> And even if I get rid of the geromino jars and put in the 
> fresh mail and activation jars, how does Cocoon know to use 
> those? Do I need to change a path to them in some other file?

The SendmailTransformer caches the host/port settings, but does not
invalidate that cache. If you have used it with the wrong settings, you
need to restart Cocoon after you have changed the host and port. 
 
> I've tried a million things, but I always get:
> 
> Could not connect to SMTP host: localhost, port: 2525
> (java.net.ConnectException: Connection refused: connect)

Is there an SMTP server listening on localhost:2525? If not, change the
SMTP host (and probably port: 25 is default, not 2525).
 
> I realize this error is mentioned in the online 
> documentation, but the way the documentation is worded and 
> laid out, I feel like I am missing a step or I am missing a 
> step that is implied I should know.
> 
> Can anyone provide me step-by-step instructions that leaves 
> no room for error? Again, I'm confused because Cocoon's root 
> lib folder has a jars.xml file (mentioned in the 
> documentation), but the lib folder in build\webapp\WEB-INF 
> does not, and I thought this is what affected my application 
> since it is in build\webapp.

Which Cocoon version are you using?
 
> View this message in context: 
> http://www.nabble.com/SendMail-Transformer-%28Cocoon-2.1.11%2C
-Windows-XP%29-tp17634181p17634181.html
> Sent from the Cocoon - Users mailing list archive at Nabble.com.
> 

[1] http://cocoon.apache.org/2.2/blocks/mail/1.0/1099_1_1.html

Regards,

Jasha Joachimsthal 

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646

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

Reply via email to