Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9191

Make CiviMail smarter when handling socket errors

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: CiviMail, NYSS
    • Labels:
    • Funding Source:
      Core Team Contract

      Description

      Currently when folks use an external smtp provider like sendgrid / smtp.com etc, new errors are introduced due to various limits enforced by these SaaS providers. This results in emails being bounced, even though the actual email is probably valid. The smtp code in the PEAR packages do not handle the situation and civimail currently processes it as a bounce.

      For now if we should treat all socket errors as potential "network errors" rather than smtp errors during a civimail send. This allows us to:

      1. Not mark the email as bounced
      2. Abort the process if we see a string of these messages in a row

      We should log this in CiviCRM.*.log file

      Over a period of time, we should improve the detection of errors that are SaaS based over smtp errors

      lobo

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: