Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 39675189A5 for ; Mon, 24 Aug 2015 09:38:51 +0000 (UTC) Received: (qmail 19494 invoked by uid 500); 24 Aug 2015 09:38:46 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 19397 invoked by uid 500); 24 Aug 2015 09:38:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 19381 invoked by uid 99); 24 Aug 2015 09:38:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2015 09:38:46 +0000 Date: Mon, 24 Aug 2015 09:38:45 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NET-580) SMTPClient.sendSimpleMessage() silently ignores failed recipients MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709016#comment-14709016 ] Sebb commented on NET-580: -------------------------- Thanks for the patch. I'm not sure it's safe to change the behaviour like this after so long (it has been like this since before 2.0) However it obviously makes sense to document the current behaviour. And it would perhaps make sense to add a new method to support the new behaviour, though I'm not sure what failures are possible (apart from syntax errors in the email address). > SMTPClient.sendSimpleMessage() silently ignores failed recipients > ----------------------------------------------------------------- > > Key: NET-580 > URL: https://issues.apache.org/jira/browse/NET-580 > Project: Commons Net > Issue Type: Bug > Components: SMTP > Affects Versions: 3.3 > Reporter: Simon Arlott > Attachments: NET-580.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > When SMTPClient.sendSimpleMessage() is used to send a message to multiple recipients, it ignores a failure to add a recipient as long as there is at least one successful recipient. This undocumented behaviour is unusual given that the API does not indicate which recipients were successful. -- This message was sent by Atlassian JIRA (v6.3.4#6332)