|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct () | |
| AddCustomHeader ($custom_header) | |
| EncodeHeader ($str, $position= 'text') | |
| EncodeQP ($string, $line_max=76, $space_conv=false) | |
Static Public Member Functions | |
| static | RFCDate () |
Moodle Customised version of the PHPMailer class
This class extends the stock PHPMailer class in order to make sensible configuration choices, and behave in a way which is friendly to moodle.
Definition at line 45 of file moodle_phpmailer.php.
| __construct | ( | ) |
Constructor - creates an instance of the PHPMailer class with Moodle defaults.
Definition at line 51 of file moodle_phpmailer.php.
| AddCustomHeader | ( | $ | custom_header | ) |
Extended AddCustomHeader function in order to stop duplicate message-ids http://tracker.moodle.org/browse/MDL-3681
Reimplemented from PHPMailer.
Definition at line 63 of file moodle_phpmailer.php.
| EncodeHeader | ( | $ | str, |
| $ | position = 'text' |
||
| ) |
Use internal moodles own textlib to encode mimeheaders. Fall back to phpmailers inbuilt functions if not
Reimplemented from PHPMailer.
Definition at line 76 of file moodle_phpmailer.php.

| EncodeQP | ( | $ | string, |
| $ | line_max = 76, |
||
| $ | space_conv = false |
||
| ) |
This is a temporary replacement of the parent::EncodeQP() that does not call quoted_printable_encode() even if it is available. See MDL-23240 for details
Reimplemented from PHPMailer.
Definition at line 110 of file moodle_phpmailer.php.

| static RFCDate | ( | ) | [static] |
Replaced function to fix tz bug: http://tracker.moodle.org/browse/MDL-12596
Reimplemented from PHPMailer.
Definition at line 94 of file moodle_phpmailer.php.