Question3Replies166Views okar1 Member since 2016 13 posts PEGA Posted: April 21, 2016Last activity: May 20, 2016 Closed Solved Is there pre condtion for pyEmailMaxResends to work properly?I had changed pyEmailMaxResends to be 5 (from 3) to do 2 more email send attempt but it still attempt only 3 times.After the change, I had rebooted web server but there is not change.Is there a bug for pyEmailMaxResends?I checked OnSend (Data-Corr-) rule and It seems to be checking "RecoverableError" as pre-condition.Give us your advice for this.Thank you in Advance!Reference site:More about Email Account data instanceshttps://pdn.pega.com/sites/pdn.pega.com/files/help_v72/procomhelpmain.htm#data-/data-emailaccount/related.htmAutomatic resendsWhen the system sends outbound email, if the connection to the email server fails, messages are automatically queued for resending later. The number of resend attempts made is defined in the Pega-ProcessEngine.pyEmailMaxResends system setting.Message was edited by: Lochan to add Category Data Integration System Administration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoMarissaRogers MOD replied to okar1Hello Ryosuke OkaI see that you opened an SR at the same time as you posted here. Please update this thread with the resolution if one is found through the work on the SR.Thank you! Posted: 4 years agookar1 PEGA replied to okar1We found pyEmailMaxResends is checking whether the error is recoverable or unrecoverable by using the function “pega_integrationengine_default.SendEmailMessage”.So, it is recoverable then refer to pyEmailMaxResends to retry, if not then use default setting as it is.Therefore, it is working as design in some sense but there is no document of what is recoverable error unless you check the function of SendEmailMessage.To workaround this, we need to modify Step 1of Java code or SendEmailMessage based on what need to done.Wish we have a document of recoverable /unrecoverable errors for Email resend. Accepted Solution Posted: 4 years agoMarissaRogers MOD replied to okar1Upon reviewing the associated SR, SA-23510 has been created. Please refer to this SA if you're having the same question.