Commit Graph

65 Commits

Author SHA1 Message Date
Adrian Greeve ee9e92e594 MDL-60194 lib: Update to phpmailer 6.0.1 2017-10-09 09:30:00 +08:00
Adrian Greeve 56e62bbba1 MDL-60194 lib: Internal changes by Moodle to phpmailer. 2017-10-09 09:30:00 +08:00
Ankit Agarwal f712568c1f MDL-57573 phpmailer: Update to version 5.2.23 2017-04-12 14:06:18 +02:00
David Mudrák 657fa9db9d MDL-57474 mailer: Make sure that our exlicit MessageID is trimmed
The new version of phpmailer shipped with Moodle 3.2 has added check
that the explicitly provided MessageID matches /^<.*@.*>$/.

Values coming from our overridden moodle_phpmailer::addCustomHeader()
had a whitespace at the start. So the requested value was not used as
the Message-ID header and the default phpmailer value was used.

As a result, forum posts threading was broken in email clients.
2016-12-21 01:20:52 +01:00
Simey Lameze 48dc4059da MDL-56000 lib: upgrade PHPMailer to 5.2.16 2016-09-29 15:09:10 +08:00
Marina Glancy ed63718caa MDL-55069 core: escape special characters in email headers 2016-07-04 12:27:58 +01:00
Adrian Greeve 30f4e2d305 MDL-53465 lib: Upgrade PHPMailer to 5.2.14 2016-03-18 09:32:39 +08:00
Matteo Scaramuccia 074b3dcecc MDL-52637 mail: Disabled automatic TLS encryption. 2016-02-04 21:16:23 +01:00
Cameron Ball ec9e2d0414 MDL-51526 mail: Import PHPMailer 5.2.13 2015-10-07 13:42:40 +08:00
Daniel Neis 2108ac8a4f MDL-30960 messages: add option to set authtype 2015-05-25 13:40:48 -03:00
Marina Glancy ccff58daee MDL-47299 libraries: upgrade PHPMailer to 5.2.8 2014-10-03 16:44:42 +08:00
Petr Škoda f007e89961 MDL-42224 clean up message and email redirection testing 2013-10-12 13:59:07 +02:00
Petr Škoda 90930acff8 MDL-42054 fix incorrect email redirection in unit tests 2013-10-09 12:08:55 +02:00
Yuliya Bozhko 56b9a02eea MDL-41956 messages: Accept attachments in send_message() in email message provider 2013-10-01 15:38:02 +13:00
Petr Škoda 6226cc30fb MDL-37324 fix phpmailer method case names and standardise phpmailer init 2013-09-23 10:11:27 +02:00
Petr Škoda 29bf99fdc1 MDL-37324 import phpmailer 5.2.7 2013-09-20 18:11:50 +02:00
Sam Hemelryk ba214fa54c MDL-41196 phpmailer: fixed unit test detection 2013-08-22 14:46:26 +12:00
Sam Hemelryk 93564564e4 Merge branch 'MDL-41196-m' of git://github.com/andrewnicols/moodle 2013-08-21 09:56:16 +12:00
Andrew Nicols 1aba6b2b4d MDL-41196 Unit Tests: Add a phpmailer message sink 2013-08-15 13:58:51 +01:00
Petr Škoda 2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Petr Škoda 0747dabad8 MDL-35186 import phpmailer 5.2.1 2012-09-02 15:36:25 +02:00
Petr Skoda f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Petr Skoda 62988bf0bb MDL-30575 more mail header cleanup 2011-12-13 10:23:41 +08:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
David Mudrak f180f99a6d MDL-24896 MDL-12596 RFCDate declared explicitly as public as it is in the parent class
The method used to be set as private in PHPdocs @access property in the
versions for PHP4. But apparenty upstream considers the function public.
Also, if the function did not declare visibility explicitly, it was
considered public anyway.
2010-11-03 20:43:58 +00:00
David Mudrak e83b7a2023 MDL-24896 MDL-23240 class.phpmailer.php reverted to the vanilla upstream version 2010-11-03 20:43:34 +00:00
Sam Hemelryk 8c74eec886 phpmailer MDL-24876 Changed var from private to public and noted in readme file 2010-10-27 06:26:30 +00:00
Andrew Davis fe020fb64b email MDL-23240 added change comments to READEME_MOODLE.txt 2010-08-09 01:33:49 +00:00
Andrew Davis 4bcb406b54 email MDL-23240 added change comments to READEME_MOODLE.txt 2010-08-09 01:33:01 +00:00
Andrew Davis 4aebb58ded email MDL-23240 commented out the use of php's quoted_printable_encode() 2010-08-08 04:34:03 +00:00
Petr Skoda 6ad1100fe4 MDL-22102 killing all CRLFs, sorry for introducing them, we need to do search replace before each commit of 3rd party lib 2010-04-19 14:42:19 +00:00
Dan Poltawski 8843e0bb3c 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).
2009-11-03 21:02:36 +00:00
Dan Poltawski ed54683612 lib/phpmailer MDL-20701 - Import new phpmailer (php5 only)
Stage one of converting our existing customisations into an extended class.
This makes it easier for us to keep up to date, see our changes and remove
the bundled libraries for distros (e.g. debian).
2009-11-03 21:01:50 +00:00
stronk7 121ff1f93f Annotating some more customizations performed in PHPMailer(); merged from 19_STABLE 2009-02-23 09:09:08 +00:00
skodak 78e3908f92 MDL-18348 CVE-2007-3215 2009-02-23 07:44:03 +00:00
dongsheng 6926b00569 "MDL-16648, UTF-8 lang file for phpmailer" 2008-09-24 02:39:44 +00:00
skodak 5730323b4b MDL-12524 fixed quoting of phrases in mail header (problem with special chars in names of users); merged from MOODLE_19_STABLE 2007-12-17 21:39:03 +00:00
skodak 5afdebff2e MDL-12596 Timezone problem in PHPMailer RFCDate() Function - patch submitted by Leo Gaggl; merged from MOODLE_19_STABLE 2007-12-16 14:50:58 +00:00
skodak 531468274f MDL-5229 and MDL-6196 adding gb18030 mime header encoding; merged from MOODLE_18_STABLE 2007-03-12 08:41:28 +00:00
vyshane 40bdeceff8 Merged from 1.7. 2007-02-14 07:22:09 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
stronk7 a848411a3b Notice killing... ;-) 2006-03-19 11:10:25 +00:00
stronk7 56a2b987e6 Starting NOW we are using our own encode_mimeheader() function to
generate all Moodle emails. Only applied if we are running under
$CFG->unicodedb. Tested with postfix and sendmail servers and
Thunderbird, Mail and Entourage mail clients...

Test, test, test....!
2006-03-19 02:35:50 +00:00
stronk7 fbf7e289a9 Updating phpmailer to 1.73. Some bugs solved. 2006-03-19 02:07:51 +00:00
stronk7 b4750d4d7f Updating phpmailer to 1.73. DOS linefeeds are now out. 2006-03-19 02:06:06 +00:00
stronk7 376508306e Updating phpmailer to 1.73. Language files. 2006-03-19 02:03:02 +00:00
moodler f74a733d0d Fix for SC122 2005-05-31 04:34:06 +00:00
skodak 54318b0462 typo in comment 2005-02-06 19:23:32 +00:00
moodler 1372b482df Fixed the include to use PluginDir 2004-12-10 12:22:39 +00:00
moodler 975a33e7e7 OK, aligning this to the same as STABLE ... there's been a bit of a mixup
about this file.  It's now standard with the single addition of a constructor
to set this->PluginDir, and this is now used for the language file includes.
2004-10-02 13:11:57 +00:00