2007/10/18

Change confirmation email

Do you want to create cutting edge confirmation email which will catch your users and will show that your Moodle site is something different?

Maybe you are tired of formal sounding of Moodle confirmation emails. For changing its content you need to look for file /moodle/lang/en_utf8/moodle.php and there for line with $string['emailconfirmation'] =... and modify content there.
(For other languages you should look for same file, but in different directory. Lang packs are located in moodledata/lang/ directory usually.)

Just take care and don't delete some useful info, like variables starting with $a-> (for example $a->sitename for displaying name of your Moodle, $a->link link to your Moodle for users can find you etc.)

2 comments:

Yogi said...

Hi,

I was just wondering if you could help me with these notification emails in Moodle.

The email system works perfectly except for the URL which is generated in the emails does not contain the right domain for my Moodle system. It says http://localhost/moodle/..... instead of http://e-learn.crouse.org/moodle/......

How do i correct this? Any help will be appreciated. Thank you.

Yogi

PK said...

Please check config.php and set $CFG->wwwroot properly to your desired URL.