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

Can't mass SMS contacts without an email address.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.4.6
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
      None
    • Documentation Required?:
      Developer Doc

      Description

      We have recorded that if a contact has no email address that messages to them will not be sent.

      It will exit on (4.5.4) line 1250 of CRM/Mailing/BAO/Mailing.php

      Changing the error to CRM_Core_Error::debug_log_message(ts('CiviMail will not send an empty mail body, Skipping: %1 mailParams: %2 ',
      array(1 => $email, 2 => print_r($mailParams, TRUE))
      ));

      Outputs:

      CiviMail will not send an empty mail body, Skipping: mailParams: Array ( [Reply-To] => "FutureFirstSMS" [Return-Path] => bounce+b.4727.502649.d6b81fd073885692@futurefirst.org.uk [From] => "FutureFirstSMS" [Subject] => [List-Unsubscribe] => )

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              johnff John Kirk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: