commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (NET-580) SMTPClient.sendSimpleMessage() silently ignores failed recipients
Date Mon, 24 Aug 2015 09:38:45 GMT


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:
>             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

View raw message