lib/phpmailer MDL-20701 - Convert to moodle_phpmailer class
authorDan Poltawski <dan.poltawski@lancaster.ac.uk>
Tue, 3 Nov 2009 21:02:36 +0000 (21:02 +0000)
committerDan Poltawski <dan.poltawski@lancaster.ac.uk>
Tue, 3 Nov 2009 21:02:36 +0000 (21:02 +0000)
commit8843e0bb3cb62df8fff8d800940ecdd25be80801
treee9a65f490971dc8739f7bf0d3e76b7ce3117149a
parented546836123e120a822db5c0d82059431857250e
lib/phpmailer MDL-20701 - Convert to moodle_phpmailer class

Stage 2 - We now extend phpmailer and do our customisations in our subclass
rather than directly in the original file.

Previously we modified SetLanguage(), but I have not carried that change over
because I could not see code paths where this gets executed.(See bug)

I tested the header/content of the old class vs this one and think the changes
are all carried over. (If anyone has clever thoughts for how to unit test this
mailing out it would be useful, especially for upgrading phpmailer).
lib/moodlelib.php
lib/phpmailer/README_MOODLE.txt
lib/phpmailer/moodle_phpmailer.php [new file with mode: 0644]