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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Send email to all contacts email addresses
Pages: [1]

Author Topic: Send email to all contacts email addresses  (Read 821 times)

leonardo

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: drupal 6.25
  • MySQL version: 5.1.63
  • PHP version: 5.2
Send email to all contacts email addresses
September 25, 2012, 05:36:00 pm
Hey Team,

I was wondering if it was possible to send bulk emails to every email address associated with a contact? This would be very useful finctionality for our NFP, as some organiational contacts have multiple email addresses, and they would like to get our newsletters sent to all addresses.

Would a hacky solution be as simple as removing : 

AND            ($email.is_bulkmail = 1 OR $email.is_primary = 1)

Statements from : /CRM/Mailing/BAO/Mailing.php.

This would remove checking for the email address requirement to be a primary or bulk email address? 


Im guessing that this would cause issues elsewhere?

Thanks!

Tiffani Chin

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Send email to all contacts email addresses
September 26, 2012, 08:01:25 pm
I could have sworn that I read in this forum that this feature would be included in 4.2.  Now I cannot find that thread!

And, I don't see any sign of it in the 4.2 demo.   Did I just imagine this?  Or can someone else put a finger on it.

Thanks,
-tiffani

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Send email to all contacts email addresses
September 27, 2012, 12:13:30 am

Civimail will optionally send an email to all email addresses that are marked Bulk for a contact. You need to enable it here:

http://drupal.demo.civicrm.org/civicrm/admin/setting/preferences/mailing?reset=1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Tiffani Chin

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Send email to all contacts email addresses
September 27, 2012, 10:08:02 pm
Lobo-

Thank you!  This is a great feature for us (we made a real mess trying to make changes in the database in order to accomplish this).  Thanks for including this functionality and for and pointing me in the right direction!

Best,
-tiffani


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Send email to all contacts email addresses

This forum was archived on 2017-11-26.