lekt...@apache.org wrote: > Author: lektran > Date: Tue Jan 5 20:48:15 2010 > New Revision: 896213 > > URL: http://svn.apache.org/viewvc?rev=896213&view=rev > Log: > 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 s > > These changes fix a problem where emails are not sent to valid recipients and > users receive no feedback when emails fail to be sent, generally because of > the smtp server rejecting one or more recipients. > > OFBIZ-3379, thanks to Pranay Pandey for the report and testing, also thanks > to Tim Ruppert and Ruth Hoffman for their input into the issue. > > Modified: > ofbiz/trunk/framework/common/servicedef/services_email.xml > ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java > > Modified: > ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java?rev=896213&r1=896212&r2=896213&view=diff > ============================================================================== > --- > ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java > (original) > +++ > ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java > Tue Jan 5 20:48:15 2010 > @@ -76,6 +78,8 @@ > import org.ofbiz.widget.screen.ScreenRenderer; > import org.xml.sax.SAXException; > > +import com.sun.mail.smtp.SMTPAddressFailedException; > +
Ick, bad, please don't do this.