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

Incorrect Bounce Type on SMTP connection error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.2
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Sending a Mailing via an un-connectable SMTP server results in the first recipient being bounced with the reason "Connection refused" and the rest with "Unknown bounce type: Could not parse bounce email" .

      This is not good because the "Unknown bounce type: Could not parse bounce email" results in email addresses going on Hold . This is also not consistent because the first recipient, the one bounced with the reason "Connection refused", does not go on Hold - although the reason behind these bounces is the same.

      I traced the error to a string "not connected" originating from Line 311 of packages/Net/Socket.php . This string/pattern should be added after Line 696 in xml/templates/civicrm_data.tpl as it is a consequence of the pattern "connection (refused|timed out)" .

      I did some minimal testing of 3.1.3 and it was putting the addresses on Hold as well under the same circumstances. I wonder if its the same issue...

        Attachments

        1. CRM-6037_v3.0.patch
          0.6 kB
          Dhruv Ahuja
        2. CRM-6037_v3.1.patch
          0.6 kB
          Dhruv Ahuja

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: