Author Topic: How To Change The Registration And Recovery Email Title And Header  (Read 1489 times)

Charles

  • Newbie
  • *
  • Posts: 8
    • View Profile
In the directory /ChatRoom/amfphp/serivices/        you will find ChatRoom.php open it up and use text pad to search for this term

$headers .= 'From: Flasherize <' . DB_EMAIL . '>' . "\r\n";  

replace Flasherize with what ever because this is the name of your reset-recovery email that your users will see.

next in the same file search for this term

$this->_mail("$email_clean", "FLASHERIZE ChatRoom Information Reset, $username", "$username, your new password is $password");

and replace the word flasherize with what ever ya want cause this is the subject line of the reset-recovery email.

the return email is pulled from the database and thats what ever you picked when you installed it.

now in the directory In the directory /ChatRoom/amfphp/flasherizelib/  in the file IntegrateStandard.php search for the line

$this->_mail("$email_clean", "FLASHERIZE ChatRoom Registration, $username_clean", "$username_clean, your password is $password_clean");

this is the subject line for registration ( if you picked this option durring the install )

now in the file IntegratedBase.php search for thsi line

$headers .= 'From: Flasherize <' . DB_EMAIL . '>' . "\r\n";

thats the name that comes before your subject line in the registration email......

ok well im done for now with my helping hand if i mixed something up the over all point is that all the information for the Registration-Recovery email heads and subject lines are in those 3 files.

/ChatRoom/amfphp/serivices/       ChatRoom.php

/ChatRoom/amfphp/flasherizelib/   IntegrateStandard.php

/ChatRoom/amfphp/flasherizelib/   IntegratedBase.php

well im out so peace :P
 
« Last Edit: June 21, 2009, 16:59:27 by Charles »

Mikael

  • Administrator
  • Newbie
  • *****
  • Posts: 7
    • View Profile
Thanks for the contribution!
We will make this easier to change in a future release!