CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Email not in "Primary Location" can't get email?
Pages: [1]

Author Topic: Email not in "Primary Location" can't get email?  (Read 2433 times)

ruid

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 4
Email not in "Primary Location" can't get email?
September 23, 2008, 08:59:37 pm
Version: CiviCRM 2.0.4

Emails in additional location can not get email. Does that mean these emails are not in the mailing list even the contact in that group?

Also, the advanced search function can not search these emails in additional location.

Is this problem only happen in 2.0.4?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Email not in "Primary Location" can't get email?
September 23, 2008, 10:57:07 pm
Quote
Emails in additional location can not get email. Does that mean these emails are not in the mailing list even the contact in that group?
If you mark additional email "Use for Bulk Mailing", then it should email to that address.
Note that there was a bug: http://issues.civicrm.org/jira/browse/CRM-3523, this is fixed in trunk (v 2.2)

Quote
Also, the advanced search function can not search these emails in additional location.

By default we search only primary location email addresses. You might want to use Search Builder for searching additional location emails.

HTH

Kurund
Found this reply helpful? Support CiviCRM

ruid

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 4
Re: Email not in "Primary Location" can't get email?
October 02, 2008, 12:35:41 am
Thanks very much Kurund.

I went to this issue tracker http://issues.civicrm.org/jira/browse/CRM-3523. However I can find out how to fix this bug in the system(sorry I am new here). How can I fix the bug in my current system?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Email not in "Primary Location" can't get email?
October 02, 2008, 11:59:53 am
You can go to the "Fisheye" link on that issue's page to get links which show you "diffs" (changes to code) for the fix:

http://issues.civicrm.org/jira/browse/CRM-3523?page=com.atlassian.jira.ext.fisheye:fisheye-issuepanel
Protect your investment in CiviCRM by  becoming a Member!

ruid

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 4
Re: Email not in "Primary Location" can't get email?
October 02, 2008, 05:36:09 pm
Thanks for your help.

I did find the codes diffs and made that change in my codes.
70    -               for (var i = 2; i <= 5; i++) {
70   +               for (var i = 1; i <= 5; i++) {

However, it seems not fix the checkbox for "Use for Bulk Mailings" not display on Additional Location problem???

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Email not in "Primary Location" can't get email?
October 03, 2008, 11:37:11 am
You might want to check for diffs between your Email.tpl file and the code here:

http://fisheye.civicrm.org/viewrep/CiviCRM/trunk/templates/CRM/Contact/Form/Email.tpl?r1=15610&r2=17148
Protect your investment in CiviCRM by  becoming a Member!

ruid

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 4
Re: Email not in "Primary Location" can't get email?
October 07, 2008, 11:39:05 pm
I did this on 2.1 beta6 and the latest 2.1 version but still can't see the check box for "Use for Bulk Mailing" on perfered email address in addtional location. :'(

Since it is a small change, I am wondering why it is not added to 2.1 stable.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Email not in "Primary Location" can't get email?
October 08, 2008, 03:03:53 pm
ruid:

Can you also apply this patch: http://fisheye.civicrm.org/changelog/CiviCRM?cs=17227

HTH

Kurund
Found this reply helpful? Support CiviCRM

ruid

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 4
Re: Email not in "Primary Location" can't get email?
October 08, 2008, 03:39:26 pm
Thanks guys. It is fixed.

There is a line missing in my email.tpl file.

<span>&nbsp;{$form.location.$index.email.1.is_bulkmail.html}</span>

Cheers :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Email not in "Primary Location" can't get email?

This forum was archived on 2017-11-26.