0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 10:02:14 +02:00
Commit Graph

1601 Commits

Author SHA1 Message Date
Fabien Salathe
95a54cc986
Split SMTP::connect in 2 functions to have more flexibility (#2060) 2020-06-10 16:23:39 +02:00
Anton
2cf7123cb1
Update phpmailer.lang-sv.php (#2064)
* Korrigerat särskrivning
2020-06-09 09:31:05 +02:00
Marcus Bointon
c2796cb1cb
Merge pull request from GHSA-f7hx-fqxw-rvvj
* Initial fixes, tests, and bump to 6.1.6

* Add CVE number
2020-05-27 14:24:03 +02:00
Marcus Bointon
a7f1b23aae
Add funding info 2020-05-06 16:42:46 +02:00
Pierre Grimaud
5b63b3955c
Fix typos (#2037) 2020-04-26 10:31:39 +02:00
Marcus Bointon
c1c38e3268
Correct Armenian language code 2020-04-17 09:25:34 +02:00
Marcus Bointon
a12c95eb53
Use correct timeout property in debug output, clarify debug output, see #2018 2020-03-26 08:23:06 +01:00
Marcus Bointon
a8bf068f64
6.1.5 2020-03-14 15:23:48 +01:00
Johse
2e727253d6
Rewrite and extension of translation (#1989) 2020-03-14 15:19:14 +01:00
lubosdz
55e0b34dea
Fix issue #2008 - MS Outlook corrupts formatting multipart EML files (#2009) 2020-03-09 11:21:06 +01:00
Marcus Bointon
a55152fb5a
Typo fix for #2007 2020-03-05 19:24:33 +01:00
Marcus Bointon
e9710eece7
Update README.md (#2004)
encouraging implicit TLS on port 465 according to RFC8314
2020-03-04 22:23:17 +01:00
Markus Staab
8666152d9f
Fix phpdoc type (#1993) 2020-02-26 20:10:35 -05:00
Marcus Bointon
26d77e0783
Changelog 2020-02-24 15:53:01 +01:00
Marcus Bointon
a559852f2d
More thorough checks that attachment files are accessible, return error or throw exception if file has been deleted since adding it, fixes #1960 2020-02-24 15:49:49 +01:00
Marcus Bointon
589ec7d8f3
Access the $smtp instance the right way, fixes #1990 2020-02-24 15:01:57 +01:00
Marcus Bointon
b8f4e4e9c2
Allow empty header values after all, rearrange tests. See #1984 2020-02-20 12:30:47 +01:00
Marcus Bointon
af4c0ad322
CS 2020-02-20 12:05:01 +01:00
Marcus Bointon
416651e950
CS 2020-02-20 12:02:19 +01:00
Marcus Bointon
594fbb4182
Don't allow headers to contain breaks, fixes #1984 2020-02-20 12:01:48 +01:00
Marcus Bointon
f7858d61a5
Make DKIM header list check case-insensitive, see #1975 2020-02-19 09:48:05 +01:00
Marcus Bointon
2b6fcc4036
Changelog 2020-02-17 13:51:51 +01:00
Marcus Bointon
b294b44f20
DKIM tweaks (#1969)
* DKIM tweaks, see #1962, #1964, #1965

* Don't use the `l` tag in DKIM signature, fixes #1964

* CS

* CS

* Fix order of operations, see #1962

* Remove trailing line break from output of `DKIM_Add()`, see #1962
2020-02-17 12:26:58 +01:00
Marcus Bointon
6ae518109e
Ensure that even vars passed by reference are declared, fixes #1968 2020-02-17 09:26:43 +01:00
John Jago
cc8da73fa2 Fix link to unit tests (#1926) 2019-12-28 11:09:55 +01:00
Marcus Bointon
c5e61d0729
6.1.4 2019-12-10 12:17:38 +01:00
Marcus Bointon
30cecf76e4
Changelog 2019-12-10 12:16:20 +01:00
Patrick Kuijvenhoven
7eff728136 Feature improve host check (#1909)
* Let isValidHost() determine validness of host

- PHP way of doing so (https://github.com/php/php-src/pull/826)
- Improved and shortened regexp a bit

* Give more specific debug message in case host(entry) is invalid

* Rewrite filter_var checks

* Host [[<ipv6>]] is not valid
2019-12-10 11:48:50 +01:00
Marcus Bointon
05853dbd44
Changelog 2019-12-09 15:09:56 +01:00
Marien Fressinaud
078a5ad4d3 Add fallback to INTL_IDNA_VARIANT_2003 if needed (#1912)
INTL_IDNA_VARIANT_UTS46 exists from ICU 4.6, which has been released in
March 2011. However, some recent installations might have older ICU
versions (even with PHP 7+). In this situation `INTL_IDNA_VARIANT_UTS46`
will not exist and PHP will transform the constant into a string,
resulting in the following error:

    Warning: idn_to_ascii() expects parameter 3 to be integer, string
    given in /some/path/to/a/file.php on line XX

This commit allows to fallback to INTL_IDNA_VARIANT_2003 if it's needed
and possible. This variable is deprecated from PHP 7.2 and will be
removed in PHP 8, so we take care to test its existence as well.

References:

- https://github.com/FreshRSS/FreshRSS/pull/2680
- https://github.com/PrestaShop/PrestaShop/pull/11995
- https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
2019-12-09 09:20:05 +01:00
Marcus Bointon
ae99006c51
Avoid excessive folding unless it's really needed. 2019-12-06 11:49:16 +01:00
Marcus Bointon
3ea7a8c3e8
Enable 7.4 now it's released, shift code coverage to it 2019-12-05 10:23:17 +01:00
Marcus Bointon
a25ae38e03
6.1.3 2019-11-21 10:37:46 +01:00
Marcus Bointon
2f2233b568
Changelog 2019-11-21 10:36:21 +01:00
Marcus Bointon
6244cf917f
Fix for #1683 2019-11-21 10:33:45 +01:00
Marcus Bointon
c0b63f19c8
Remove stray phpdoc ref, see #1898 2019-11-20 19:58:58 +01:00
Marcus Bointon
506eff4a59
Changelog 2019-11-19 16:08:31 +01:00
Marcus Bointon
dd6cf2eb51
Remove some unneeded dev dependencies, resolves conflict in #1898
Phpdocs now build using a github action
2019-11-19 16:07:01 +01:00
Marcus Bointon
4c5597c733
CS 2019-11-18 16:31:08 +01:00
Marcus Bointon
5f4fefe008
Changelog 2019-11-18 16:22:41 +01:00
Marcus Bointon
5c0af00d2c
Correct comment 2019-11-18 16:21:32 +01:00
Marcus Bointon
188cc38e2e
Use a constant to make it clear where this value comes from 2019-11-18 16:21:07 +01:00
Kirill Voronov
b468ff8b4a FIX int type (#1895)
* FIX int type

* Update SMTP.php

* damn it! :)

* Update SMTP.php
2019-11-15 11:41:25 +01:00
mhdalvin
4fd3c57b2d wrong location of is_callable()'s closing parenthesis (#1890) 2019-11-14 08:50:24 +01:00
Marcus Bointon
0ae8505d26 CS 2019-11-13 21:09:28 +01:00
Marcus Bointon
526b1836c9 6.1.2 2019-11-13 20:51:46 +01:00
Marcus Bointon
f39d72ba54 Changelog 2019-10-31 09:33:24 +01:00
Marcus Bointon
0d780d5091 Don't capture if attr match has hyphen prefix, see #1877 2019-10-30 22:40:36 +01:00
Marcus Bointon
a7c75c6328 Make background attribute pattern match more precise, see #1877 2019-10-30 18:21:19 +01:00
Marcus Bointon
4e9a7614ce Ensure header and body are separated by 2 line breaks 2019-10-23 15:15:15 +02:00