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

Send Email to Contacts - Problems with contacts and locations with NULL email addresses

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Various issues with simple 'Send Email to Contact(s)' when contact or location does NOT have an email address:
      1. "Send Email.." from view contact - select option w/o email address shows in To: field (frozen) if contact has 0 or 1 locations, and no email.
      For this case - should display an Email: field (next to frozen display of contact name), and allow user to enter an email. Then validate field and save to primary location on Send.

      2. If multiple locations and one doesn't have an email we currently get drop-down w/ invalid option(s) - e.g. name but no email. Location(s) w/ NULL email should not be included in options array.

      3. From selector, Send Email to Contacts - selected just a single contact who has not email address - currently lets me submit form w/o recipient data, then says No email sent: 1 (w/o a reason). Should give error status instead of form for this case.

      3.1 If there's a mix of some contacts w/ emails and others w/o, add reason to the 'Email not sent to contact (no email address on file): 2'

      Example of problem (singleton 'send', 1 location - no email address):
      To: "Eric Foobard" <> Home

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: