78 Commits

Author SHA1 Message Date
Meirza
4c2d560fc7 MDL-78146 lib: Added missing class properties in phpmailer
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-27 11:25:38 +07:00
cescobedo
dc2d9ca7f7 MDL-76908 lib: update phpmailer to 6.7.1 2023-02-28 15:39:08 +01:00
Daniel Ziegenberg
ccda718623
MDL-75466 core: Upgrade PHPmailer to 6.6.5
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-11-04 13:38:23 +01:00
Huong Nguyen
bc80531188 MDL-61921 admin: Support XOAUTH2 for outgoing mail 2022-10-21 09:33:48 +07:00
Huong Nguyen
44ca802d4e MDL-61921 lib: Bring back OAuth for PHPMailer 2022-10-20 09:59:14 +07:00
Ilya Tregubov
e118f7576b MDL-71703 lib: update phpmailer to 6.5.3 2022-03-08 10:04:20 +01:00
Amaia Anabitarte
d9967a5763 MDL-73601 lib: Normalize readme_moodle.txt file name 2022-02-01 18:10:36 +01:00
Ilya Tregubov
b5ccb0eb46 MDL-70292 lib: Moodle customizations. 2021-01-19 09:05:55 +02:00
Ilya Tregubov
df2fba3aa4 MDL-70292 lib: update phpmailer to 6.2.0 2021-01-19 09:02:19 +02:00
Shamim Rezaie
83a7336f57 MDL-67373 lib: Upgrade PHPmailer to 6.1.3 2019-12-03 21:11:40 +11:00
Simey Lameze
02523182f9 MDL-66306 lib: upgrade moodle lib docs 2019-08-06 13:59:37 +08:00
Simey Lameze
f0f88f7f2b MDL-66306 lib: update phpmailer to 6.0.7 2019-08-06 13:48:28 +08:00
Eloy Lafuente (stronk7)
b762ed9552 MDL-63967 libs: some filter_var() filters are deprecated with php73
The explicit usage of the constants FILTER_FLAG_SCHEME_REQUIRED and
FILTER_FLAG_HOST_REQUIRED is now deprecated; both are implied for
FILTER_VALIDATE_URL anyway.
2019-02-01 11:56:05 +01:00
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