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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • how do you add email to updatemembershiprecord.php?
Pages: [1]

Author Topic: how do you add email to updatemembershiprecord.php?  (Read 653 times)

sanook

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 1
how do you add email to updatemembershiprecord.php?
December 15, 2010, 03:12:11 pm
I understand you need to add the FROM email to this script... but how do I change it.   I think this is the line of code I need to modify:

$fromEmailAddress );

what do I change this to?  the instructions are not clear on this (at least not to my non programmer eyes)

is it  $fromoffice@wildsight.ca );    or   $office@wildsight.ca );   or?  something else?  Please help!
 :)

sanook

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 1
Re: how do you add email to updatemembershiprecord.php?
December 15, 2010, 03:27:48 pm
it appears that the instructions within this file and the place to input the email address (used to be an Info@fixme.org) are no longer in this file....  and obviously I am not looking at changing the right thing above... this should be fixed as it is VERY confusing for me (not to mention that this has to be re-set everytime I upgrade!

so... what do  I need to change here?  please help!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: how do you add email to updatemembershiprecord.php?
December 15, 2010, 03:59:14 pm
most probably you don't need to do anything - depending what version you are on - you might want to update your profile. Somewhere in the 3.2 series a change was made so this refers to the default from address
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

nae

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 0
    • Play Australia
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 7.31
  • MySQL version: 5.1
  • PHP version: 5.3
Re: how do you add email to updatemembershiprecord.php?
December 29, 2010, 12:09:48 am
This is indeed confusing as the comments at the top of the file titled updatemembershiprecord.php.txt still say that you have to add in the from Email address, however there is now no place to insert it, it is done automatically we assume from the default domain from email address. However - I assume that the file still has to be saved as a php extension rather than .txt file. Documentation change will fix this.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: how do you add email to updatemembershiprecord.php?
December 29, 2010, 12:30:26 am
Hello nae,

we have enhance the functionality to use domain email address as a default from email address in CiviCRM v3.3
Related issue is here : http://issues.civicrm.org/jira/browse/CRM-6319

you might want to upgrade the CiviCRM to latest stable release v3.3.1
and copy UpdateMembershipRecord.php.txt to  UpdateMembershipRecord.php

which will have all proper comments and enhance functionality.

Thanks

kiran
You Are Designed To Choose... Defined By Choice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • how do you add email to updatemembershiprecord.php?

This forum was archived on 2017-11-26.