Change Registration Email Text

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
super20g
User
Posts: 49

Change Registration Email Text

Post by super20g »

How do you change the registration email text?

i.e. How would you change the wording and also add the users first and last name instead of 'Sir/Madam'?


Dear Sir/Madam,

Thank you for registering with us. Your registration details with us is as follow:
...
Please feel free to contact us in case of further queries.

Best Regards,

Support


mobhar
User
Posts: 11737

Post by mobhar »

You need to customize the "register.txt" file in the template side.


super20g
User
Posts: 49

Post by super20g »

Thank you for pointing me to the *.txt files in the template.

Do you know if there is a variable for First and Last name that can be used in these emails?


danielc
User
Posts: 1601

Post by danielc »

If you just want to change some text, look at your file register.txt in project/phptxt subfolder. The variable for last name is <!--LastName--> (<!--FirstName--> for first name). Just customize this file and remember to not generate this file again.


mobhar
User
Posts: 11737

Post by mobhar »

It depends on the fields whether exists in your "users" table.

Just refer to code in the generated "register.php" file how to replace the certain variable in the email text template file.


Post Reply