commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trasca Virgil <virgil_tra...@yahoo.com>
Subject Re: [EMAIL] - Issue with commons-net and MS Exchange email server
Date Wed, 02 Feb 2011 13:54:08 GMT
Hi Sebb,
 
        I goggled for SMTP 421 and I saw the meaning of it. I did not say it is 
a bug - I am only asking if people can give some hints as from where the problem 
can come. 
 
What I already tried
 
	* double checked the server settings to be ok
	* checked for firewalls/antivirus which might block the communication - it is 
not the case
	* goggled for SMTP 421 and saw it is a communication problem between the client 
and the server
 
Thank you, 
Virgil




________________________________
From: sebb <sebbaz@gmail.com>
To: Commons Users List <user@commons.apache.org>
Sent: Wed, February 2, 2011 11:27:06 AM
Subject: Re: [EMAIL] - Issue with commons-net and MS Exchange email server

On 2 February 2011 08:42, Trasca Virgil <virgil_trasca@yahoo.com> wrote:
> Hi,
>
>        I am trying to send an email using commons-net and a MS Exchange 
server.

I think you mean Commons EMAIL - subject changed accordingly.

> All the server connect settings were double checked and are correct. Also some
> firewall settings were adjusted to be sure nothing stays in between that could
> block the communication.
>
>
> Still things are not working and following is the stack trace. Any help will 
be
> greatly appreciated.
>
>
>  org.apache.commons.mail.EmailException: Sending the email to the following
> server failed : CIBSE-MAIL.cibse.org:25
>  at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1242)
>  at org.apache.commons.mail.Email.send(Email.java:1267)
>  at
> com.smartwish.documentburster.sender.EmailSender.doSend(EmailSender.java:148)
>  at com.smartwish.documentburster.sender.Sender.send(Sender.java:89)
>  at
>com.smartwish.documentburster.engine.SimpleBurster.endDocument(SimpleBurster.java:272)
>)
>
>  at
>com.smartwish.documentburster.engine.SimpleBurster.doBurst(SimpleBurster.java:135)
>)
>
>  at com.smartwish.documentburster.facade.Facade.doBurst(Facade.java:59)
>  at 
com.smartwish.documentburster.DocumentBurster.main(DocumentBurster.java:63)
> Caused by: javax.mail.MessagingException: Could not connect to SMTP host:
> CIBSE-MAIL.cibse.org, port: 25, response: 421

Response 421 means what?

Googling "SMTP 421" should help you here.

This does not appear to be a Commons EMAIL problem.

>  at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1694)
>  at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525)
>  at javax.mail.Service.connect(Service.java:313)
>  at javax.mail.Service.connect(Service.java:172)
>  at javax.mail.Service.connect(Service.java:121)
>  at javax.mail.Transport.send0(Transport.java:190)
>  at javax.mail.Transport.send(Transport.java:120)
>  at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1232)
>  ... 7 more
>
>
> Thank you,
> Virgil

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message