You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luis Gois <lg...@despodata.pt> on 2001/03/21 12:07:10 UTC

mail/sendmail taglib

Hi!
I'm using de mail/sendmail taglibs but when I try to run the demo I get
a MessagingException (see bottom). According to system administrator all
mail server parameters are OK. I'm using Cocoon-1.8.2, javamail-1.2 and
jaf-1.0.1. When executing the demos that came with javamail I get the
same exception. Any hints????

Tks in advance!!


javax.mail.MessagingException: Connect failed;
       nested exception is: 
             java.io.IOException: Unexpected response: 220
ninja.despodata.pt ESMTP Exim 3.12 #1 Wed, 21 Mar 2001 10:22:10 +0000
             at
com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
             at javax.mail.Service.connect(Service.java:234)
             at
_usr._appl._mercado._unstable._local._src._xml_v2._mail.populateDocument(_mail.java:144)
             at
org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
             at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527)
             at org.apache.cocoon.Engine.handle(Engine.java:384)
             at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
             at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
             at org.apache.tomcat.core.Handler.service(Handler.java:263)
             at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
             at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
             at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
             at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
             at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
             at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
             at java.lang.Thread.run(Thread.java:484)
-- 
Luis A. Gois
---
Projecto WAP -- DESPODATA/INESC --

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: mail/sendmail taglib

Posted by Colin Britton <cb...@centervilletech.com>.
Do you have activation.jar in the lib directory as well as mail.jar? This is
needed.

rgds
CB
----- Original Message -----
From: "Luis Gois" <lg...@despodata.pt>
To: "cocoon-users" <co...@xml.apache.org>
Sent: Wednesday, March 21, 2001 6:07 AM
Subject: mail/sendmail taglib


> Hi!
> I'm using de mail/sendmail taglibs but when I try to run the demo I get
> a MessagingException (see bottom). According to system administrator all
> mail server parameters are OK. I'm using Cocoon-1.8.2, javamail-1.2 and
> jaf-1.0.1. When executing the demos that came with javamail I get the
> same exception. Any hints????
>
> Tks in advance!!
>
>
> javax.mail.MessagingException: Connect failed;
>        nested exception is:
>              java.io.IOException: Unexpected response: 220
> ninja.despodata.pt ESMTP Exim 3.12 #1 Wed, 21 Mar 2001 10:22:10 +0000
>              at
> com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
>              at javax.mail.Service.connect(Service.java:234)
>              at
>
_usr._appl._mercado._unstable._local._src._xml_v2._mail.populateDocument(_ma
il.java:144)
>              at
> org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
>              at
>
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527)
>              at org.apache.cocoon.Engine.handle(Engine.java:384)
>              at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
>              at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>              at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
>              at org.apache.tomcat.core.Handler.service(Handler.java:263)
>              at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
>              at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78
6)
>              at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
>              at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
>              at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
>              at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>              at java.lang.Thread.run(Thread.java:484)
> --
> Luis A. Gois
> ---
> Projecto WAP -- DESPODATA/INESC --
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: mail/sendmail taglib

Posted by Donald Ball <ba...@webslingerZ.com>.
On Wed, 21 Mar 2001, Luis Gois wrote:

> Hi!
> I'm using de mail/sendmail taglibs but when I try to run the demo I get
> a MessagingException (see bottom). According to system administrator all
> mail server parameters are OK. I'm using Cocoon-1.8.2, javamail-1.2 and
> jaf-1.0.1. When executing the demos that came with javamail I get the
> same exception. Any hints????
>
> Tks in advance!!
>
> javax.mail.MessagingException: Connect failed;
>        nested exception is:
>              java.io.IOException: Unexpected response: 220
> ninja.despodata.pt ESMTP Exim 3.12 #1 Wed, 21 Mar 2001 10:22:10 +0000

sure - that's your smtp server sending your an error code - number 220. i
don't know exactly what it means but it would seem that the javamail
reference implementation doesn't like your smtp server (exim) or vice
versa. it's not specific to the sendmail logicsheet at all, but the
javamail reference implementation. try the command line examples that come
with the javamail api and see if they work. you might mail the javamail
guys, or hunt around for a javamail api implementation that works with
exim.

- donald


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>