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 CiviEvent (Moderator: Yashodha Chaku) »
  • Registration confirmation email and multi-site Drupal - different From emails?
Pages: [1]

Author Topic: Registration confirmation email and multi-site Drupal - different From emails?  (Read 1014 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Registration confirmation email and multi-site Drupal - different From emails?
March 03, 2009, 11:08:45 am
Hi got a client that is setting up multiple Drupal sites.  One installation of CiviCRM will be used for all the sites.  People can register at each different site for the same CiviEvent.  However, depending on which site the person registered at, would it be possible to send a confirmation email with a different "From" address?

So user register at ABC.com and my From address says "ABC.com Registration Confirmation"  another user registered at XYX.com and their From address says "XYX.com Registration Confirmation"

In a similar vein, is it possible to keep track of which site the person registered at?

Thanks!!!!!!!!!!!!!!!!!!!!!!!!11111
Try CiviTeacher: the online video tutorial CiviCRM learning library.

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: Registration confirmation email and multi-site Drupal - different From emails?
March 03, 2009, 03:52:56 pm

Both the below changes will require code modifications

CRM/Event/BAO/EventPage.php, function sendMail

to keep track of who cam from where, you might want to consider modifying the 'source' field

CRM/Event/Form/Registration/*.php, modify 'description' as needed

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 CiviEvent (Moderator: Yashodha Chaku) »
  • Registration confirmation email and multi-site Drupal - different From emails?

This forum was archived on 2017-11-26.