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) »
  • renewal script - From
Pages: [1]

Author Topic: renewal script - From  (Read 985 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
renewal script - From
March 24, 2010, 05:14:25 pm
Hello all,

The UpdateMembershipRecord script breaks the normal civi rules in that it holds configuration information (the from address) in a file that is deleted / over-written on upgrade:

From the script:
" * IMPORTANT: You must set a valid FROM email address on line 199 before and then save the file as
 * UpdateMembershipRecord.php prior to running this script."

Would it be a better idea for it just to use the default Civi FROM address?

Eileen
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

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: renewal script - From
March 24, 2010, 09:49:05 pm

yes

wanna post a patch for this along with an issue

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: renewal script - From
March 24, 2010, 11:26:35 pm
OK - I don't suppose you can point me to how to get the from address off the top of your head? Otherwise I'll have to fosick around to figure out how to access it from that script
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

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: renewal script - From
March 25, 2010, 02:45:46 pm

check: CRM/Mailing/Form/Upload.php,line 122 (in v3.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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • renewal script - From

This forum was archived on 2017-11-26.