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 CiviMember (Moderator: Deepak Srivastava) »
  • Changing destination of automatic email messages
Pages: [1]

Author Topic: Changing destination of automatic email messages  (Read 822 times)

hlevinson

  • I post occasionally
  • **
  • Posts: 53
  • Karma: 3
Changing destination of automatic email messages
April 15, 2010, 02:46:48 pm
CiviCRM sends the Membership receipt and renewal reminder (maybe other messages too?) to the email address listed in the Organization's contact record.

In my project, we need those emails to go to one or more different people. (They are employees of the organization and have their own CiviCRM Individual contact records.) At the same time, we DO NOT want the email to go to the address in the Organization's contact record.

What is the best way to handle diversion of the email messages?

1. Clone/modify CiviCRM source code
2. Try to use hook_mail or some other hook to trap and modify the email actions?
3. Other approach?

thanks!

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: Changing destination of automatic email messages
April 15, 2010, 03:07:31 pm

i would use option 2. And if option 2 does not work, we should improve it so it does work :). Thats the purpose of the mail alter hook

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Changing destination of automatic email messages

This forum was archived on 2017-11-26.