[ 
https://issues.apache.org/jira/browse/EMAIL-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769883#comment-13769883
 ] 

Thomas Neidhart commented on EMAIL-132:
---------------------------------------

Thanks for the report, we will add a section to the javadoc of Email.send and 
the userguide.
                
> Can't delivery to another recipients when send mail to one recipient failed
> ---------------------------------------------------------------------------
>
>                 Key: EMAIL-132
>                 URL: https://issues.apache.org/jira/browse/EMAIL-132
>             Project: Commons Email
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.3, 1.3.1
>            Reporter: Allen Xudong Cheng
>
> I want to send email to multiple recipients by using Email.addTo(). But I 
> found when send mail to one recipient failed(e.g. email address invalid), 
> another can't got the email. Here is Exception stack:
> 09-17 07:48:48,804|ERROR|ortTask_tra_event_81|          EmailUtils|Sending 
> the email to the following server failed : xxxxx:xxxx
> org.apache.commons.mail.EmailException: Sending the email to the following 
> server failed : 172.24.1.82:25
>         at 
> org.apache.commons.mail.Email.sendMimeMessage(Email.java:1242)[131:org.apache.commons.email:1.2]
>         at 
> org.apache.commons.mail.Email.send(Email.java:1267)[131:org.apache.commons.email:1.2]
>         at 
> com.swimap.prs.utils.email.EmailUtils.sendEmail(EmailUtils.java:72)[125:prs.utils.common:1.9.8.1-SNAPSHOT]
>         at 
> com.swimap.prs.application.dataexport.impl.corbareport.traditional.event.ManualEventTask.run(ManualEventTask.java:48)[220:prs.application.dataexport.impl:1.9.8.1-SNAPSHOT]
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[:1.6.0_43]
>         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_43]
>         at 
> com.swimap.prs.application.dataexport.impl.corbareport.traditional.event.ManualEventTask.run(ManualEventTask.java:48)[220:prs.application.dataexport.impl:1.9.8.1-SNAPSHOT]
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[:1.6.0_43]
>         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_43]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_43]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)[:1.6.0_43]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)[:1.6.0_43]
>         at java.lang.Thread.run(Thread.java:662)[:1.6.0_43]
> Caused by: javax.mail.SendFailedException: Invalid Addresses;
>   nested exception is:
>         com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Reason: Your 
> Outlook settings may be incorrect, see http://xxxxx. Not allowed send to: 
> [email protected]
>         at 
> com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1873)[82:javax.mail:1.4.5]
>         at 
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1120)[82:javax.mail:1.4.5]
>         at javax.mail.Transport.send0(Transport.java:195)[58:javax.mail:1.4.4]
>         at javax.mail.Transport.send(Transport.java:124)[58:javax.mail:1.4.4]
>         at 
> org.apache.commons.mail.Email.sendMimeMessage(Email.java:1232)[131:org.apache.commons.email:1.2]
>         ... 16 more
> Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Reason: 
> Your Outlook settings may be incorrect, see http://xxxxx. Not allowed send 
> to: [email protected]
>         at 
> com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1771)[82:javax.mail:1.4.5]
>         ... 20 more
>    

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to