Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 60318 invoked from network); 2 Feb 2011 09:27:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 09:27:39 -0000 Received: (qmail 25665 invoked by uid 500); 2 Feb 2011 09:27:38 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 25259 invoked by uid 500); 2 Feb 2011 09:27:35 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 25248 invoked by uid 99); 2 Feb 2011 09:27:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 09:27:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 09:27:28 +0000 Received: by qyk33 with SMTP id 33so7591109qyk.9 for ; Wed, 02 Feb 2011 01:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=W+NI4AKhdawDbsCzY84PagsGUbOVOjQF4tKCYwH++os=; b=JjHs3wEVfgcLrqSBZ1v5rEZSR1FnNbebDWh4c4tTo6KYmO6mmzw7zqmQoa14fBCWu+ Ga3ZXpwNxT4969ZNgtBo6hk8+niRDexcWe0C/D20ahEnmKFi6LoBYv+BP8FI14w7+XSp hRiTBOfnaP8z6CxU39sDbeGjabfDCGYdHzhoc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lHqNOB8yXu+/sa6B5hWkbCNpkrAvHc7TSTkUogfFAFcNiytL7MCOKzK4+BzhoP7WnV hnPUY4HdUzQtKiGzsViwN6SaKT4nYYnEYtW1E7hKJwe+kTIwT3jEhZxA7+jFdlKU5H/L Sl/RAiQqGB6CfqDjlciYEyGiGBwNg2yc92k7I= MIME-Version: 1.0 Received: by 10.229.247.68 with SMTP id mb4mr7848117qcb.294.1296638827020; Wed, 02 Feb 2011 01:27:07 -0800 (PST) Received: by 10.229.95.208 with HTTP; Wed, 2 Feb 2011 01:27:06 -0800 (PST) In-Reply-To: <949533.85686.qm@web33806.mail.mud.yahoo.com> References: <949533.85686.qm@web33806.mail.mud.yahoo.com> Date: Wed, 2 Feb 2011 09:27:06 +0000 Message-ID: Subject: Re: [EMAIL] - Issue with commons-net and MS Exchange email server From: sebb To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2 February 2011 08:42, Trasca Virgil wrote: > Hi, > > =A0=A0=A0=A0=A0=A0 I am trying to send an email using commons-net and a= =A0MS Exchange server. I think you mean Commons EMAIL - subject changed accordingly. > All the=A0server connect settings were double checked and are correct. Al= so 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=A0trace.=A0Any he= lp will be > greatly appreciated. > > > =A0org.apache.commons.mail.EmailException: Sending the email to the follo= wing > server failed : CIBSE-MAIL.cibse.org:25 > =A0at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1242) > =A0at org.apache.commons.mail.Email.send(Email.java:1267) > =A0at > com.smartwish.documentburster.sender.EmailSender.doSend(EmailSender.java:= 148) > =A0at com.smartwish.documentburster.sender.Sender.send(Sender.java:89) > =A0at > com.smartwish.documentburster.engine.SimpleBurster.endDocument(SimpleBurs= ter.java:272) > > =A0at > com.smartwish.documentburster.engine.SimpleBurster.doBurst(SimpleBurster.= java:135) > > =A0at com.smartwish.documentburster.facade.Facade.doBurst(Facade.java:59) > =A0at 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. > =A0at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1694) > =A0at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:= 525) > =A0at javax.mail.Service.connect(Service.java:313) > =A0at javax.mail.Service.connect(Service.java:172) > =A0at javax.mail.Service.connect(Service.java:121) > =A0at javax.mail.Transport.send0(Transport.java:190) > =A0at javax.mail.Transport.send(Transport.java:120) > =A0at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1232) > =A0... 7 more > > > Thank you, > Virgil --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org