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

preferred_mail_format should never be NULL or handled properly

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.9, 4.7.11
    • Fix Version/s: 4.7.13
    • Component/s: CiviMail
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      if "nothing" is selected on a contact's preferred e-mail format, then empty mails are being sent.

      Either "nothing" shouldn't be an allowed option or it should be handled by CiviMail as "both".
      Looking into the database I see that there are both empty values and NULL in that column. Empty values are currently treated as "both". I think it should be the same for null. Sending an empty e-mail is bad, especially as the user doesn't see it.

        Attachments

          Activity

            People

            • Assignee:
              samuelsov Samuel Vanhove
              Reporter:
              80686 Manuel Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: