Forums | Mahara Community
Developers
/
Introductory e-mail
01 October 2010, 6:13
Hi
Is it possible to customise the introductory email sent to a new member?
Thanks
Jonathan Smith
01 October 2010, 7:51
Hi Jonathan,
The contents of the e-mail comes from the language strings located in /lang/en.utf8/mahara.php
There are several strings used depending on whether the user is automatically created, or created by you. There are also HTML and plaintext versions of the text. The ones you're looking for will be called something like accountcreatedtext, accountcreatedhtml, accountcreatedchangepasswordtext, accountcreatedchangepasswordhtml, etc.
For customising text, I'd recommend reading the section on the wiki relating to Customising -> Language Strings (http://wiki.mahara.org/Customising/Language_Strings). Essentially though, you should create a new file in: /local/lang/en.utf8/mahara.php and re-define the strings you want to override. I'd really recommend not changing the core Mahara code - make use of the local directory. This will make your life much easier when it comes to upgrading your Mahara installation.
Good luck!
Andrew