[ 
https://issues.apache.org/jira/browse/OFBIZ-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795816#action_12795816
 ] 

Scott Gray commented on OFBIZ-3379:
-----------------------------------

If there are no objections I'll likely commit this patch in the next day or so, 
here's are summary of the changes in case anyone hasn't been following closely:
- Emails will now be sent to any valid recipients even if the SMTP server 
rejected any invalid ones.  This can be turned off if desired in 
general.properties and also on a per service call basis.
- A failure notification will be sent to the email's "from" address, listing 
the failed recipients and the reason for each failure.  The notification can be 
turned off by setting the sendFailureNotification parameter to false in the 
service context.  If a failure notification is sent then the service will 
return success even if there were failures (this prevents async calls from 
retrying and multiple failure notifications being sent).

> Email sending process using one connection for To/CC/BCC causing issues
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-3379
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3379
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Scott Gray
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBIZ-3379.patch, OFBIZ-3379.patch, OFBIZ-3379.patch
>
>
> Typically BCCs are handled via the sending mail client. That is, when the 
> client sees a BCC in an email, it will open up two connections to the mail 
> server, the first for the To/CC fields, the second for BCC fields, this way 
> the addresses are masked from the headers and there is that layer of 
> anonymity that BCC is used for.
> What appears to be happening is that OFBiz is sending all of the information 
> in one connection to the mail server and having the mail server sort out the 
> details. So when sendTo encountering an invalid email, and then terminating 
> the remaining execution of the outgoing process and no email sent to BCC 
> address which is usually going to be a valid address from email settings for 
> the company.
> To fix the issue, we need to send this via two connection to mail client.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to