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) »
  • "From" address for receipts sent from offline memberships
Pages: [1]

Author Topic: "From" address for receipts sent from offline memberships  (Read 1427 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
"From" address for receipts sent from offline memberships
February 23, 2009, 01:23:01 pm
Hi - back to 101 for me. Where is the set up for the receipts generated from offline memberships. I need to change the 'from' email address. thanks
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: "From" address for receipts sent from offline memberships
February 23, 2009, 09:09:22 pm
hi,
         In CRM/Member/Form/Membership.php
         following code block is present, around line no. 840
         
Code: [Select]
            $template =& CRM_Core_Smarty::singleton( );
            $subject = trim( $template->fetch( 'CRM/Contribute/Form/ReceiptSubjectOffline.tpl' ) );
            $message = $template->fetch( 'CRM/Contribute/Form/ReceiptMessageOffline.tpl' );

            require_once 'CRM/Utils/Mail.php';
            $mailSend = CRM_Utils_Mail::send( $receiptFrom,
                                              $this->_contributorDisplayName,
                                              $this->_contributorEmail,
                                              $subject,
                                              $message);

Quote
I need to change the 'from' email address
need to change  $receiptFrom( Email of logged in user)


sunil
The community around a product more important than the product itself?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: "From" address for receipts sent from offline memberships
February 23, 2009, 09:36:35 pm
Ha - what a wild goose chase that was. Just because the person generating the receipts had lost their login and was logging in as Admin which meant emails was going out with wrong addressed. Thanks for the fix. Had looked in tmp etc but not in form.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • "From" address for receipts sent from offline memberships

This forum was archived on 2017-11-26.