Commit Graph

370 Commits

Author SHA1 Message Date
Marcus Bointon dfa731a087
Check broken links, update for HTTPS everywhere 2024-04-01 20:48:10 +02:00
Marcus Bointon 039de174cd
6.9.1 2023-11-25 23:23:28 +01:00
Marcus Bointon 934f852bfa
PHPMailer 6.9.0 2023-11-25 23:16:39 +01:00
Marcus Bointon d5615bffb4
Merge pull request #2986 from frankforte/custom-headers
Improvements for `clearCustomHeader` and `replaceCustomerHeader`
2023-11-25 23:02:29 +01:00
Frank Forte 8a91dd64f4 Code formatting for custom header methods. 2023-11-25 13:48:53 -05:00
Frank Forte b0ffd67775 Update replaceCustomerHeader to remove duplicates. Improve clearCustomHeader and relaceCustomHeader to handle name: value. 2023-11-25 12:37:07 -05:00
Marcus Bointon 3104b10d73
Merge pull request #2852 from mta59066/xclient
XCLIENT implementation
2023-11-23 09:12:59 +01:00
Frank Forte beb87e3cf7 validate value in replaceCustomHeader 2023-11-22 12:02:49 -05:00
Frank Forte 174653aa27 Add methods to update or clear custom headers by name. 2023-11-22 11:35:33 -05:00
Marcus Bointon cbe9d8d9a9
CS 2023-11-08 19:16:12 +01:00
Marcus Bointon 4da71db8ce
CS 2023-11-08 19:15:08 +01:00
Marcus Bointon c87abc860c
Don't attempt to use opportunistic TLS when connecting to localhost 2023-11-08 19:11:46 +01:00
Marcus Bointon 358be9a467
CS and early continue
If it's null or empty, we know the next test will fail too, so continue straight away
2023-10-02 11:21:51 +02:00
Harshit Singh 9c5282e2a1 Review fix 2023-10-02 14:41:26 +05:30
Harshit Singh 0a385498db fix: null issue in trim method 2023-10-02 13:18:28 +05:30
Marcus Bointon 8db93b5190
6.8.1 2023-08-29 10:18:50 +02:00
Marcus Bointon f8242e6ff7
Comment 2023-05-21 13:47:32 +02:00
Marcus Bointon df16b615e3
6.8.0 2023-03-06 15:43:22 +01:00
Mehmet Tolga Avcioglu 00e9d3b85a fix constant array for php5 2023-01-07 22:34:29 +03:00
Mehmet Tolga Avcioglu 82dd9a01fb improve xclient 2023-01-06 15:59:03 +03:00
Mehmet Tolga Avcioglu b278bc3f1b protected xclient variable and added tests 2023-01-04 14:18:40 +03:00
Mehmet Tolga Avcioglu 6384753f6e protected xclient variable and added tests 2023-01-04 14:13:07 +03:00
Mehmet Tolga Avcioglu a57dc65962 initial xclient implementation 2023-01-03 17:46:09 +03:00
campbell-m ac3f59f657 Fixes the, admittedly rare, case when the display name is '0'. 2022-12-20 20:45:14 +00:00
Marcus Bointon 49cd7ea3d2
6.7.1 2022-12-08 14:30:06 +01:00
Marcus Bointon 80fc8686fc
6.7 2022-12-05 11:56:35 +01:00
Marcus Bointon c033268049
Break out setting MIME boundaries into a protected method, fixes #2511 2022-12-05 10:01:24 +01:00
Marcus Bointon 12e5c0c6f6
Drop MIME preamble to match common email client behaviour, see #1352 2022-12-05 09:24:58 +01:00
Marcus Bointon 3228f11fb4
Don't strip non-break trailing whitespace during simple DKIM canonicalisation, fixes #2837 2022-12-05 08:37:57 +01:00
Björn Steinbrink 4588e44e9b Don't let RSET errors overwrite the original error
On keep-alive connections, we issue an RSET command in case of errors.
But that RSET command may fail, which causes the error information from
the original error to be replaced by the error information from the
RSET error, which isn't helpful in diagnosing the actual cause. To avoid
this problem, we need to extract the error information first, and only
issue the RSET command afterwards.
2022-11-22 10:08:10 +01:00
Marcus Bointon 5f61e3dae7
Cast ini value to avoid coercion, fixes #2827 2022-11-18 10:17:08 +01:00
Marcus Bointon e7bd0d1f6d
Add return type annotation 2022-11-14 10:58:16 +01:00
Marcus Bointon 8b6386d741
6.6.5 2022-10-07 14:23:10 +02:00
Darren Sim c4ed6172a5 fix bug in addAttachment with folder's instead of filenames 2022-10-04 00:04:01 +01:00
Björn Steinbrink 703ad1052c Don't try to issue RSET on connection errors
In case of errors, keep-alive SMTP connections are always reset, but
when the error happened while establishing the connection, trying to
reset the connection is pointless and just produces another error.
2022-09-21 13:52:41 +02:00
Marcus Bointon 21768617e2
Fix possible null param to explode, fixes #2760 2022-09-02 23:39:13 +02:00
Marcus Bointon a94fdebaea
6.6.4 2022-08-22 11:22:00 +02:00
Marcus Bointon 6b7dc4edab
CS 2022-08-22 09:55:30 +02:00
Marcus Bointon 53d91d3016
CS 2022-08-22 09:51:34 +02:00
sverpoorten 0bddcf9141
Bugfix invalid DKIM-signature with zero To-addresses
When using PHP's mail() function, and when there are no To-addressees (e.g. only BCC), then the DKIM-signature was not correct. There was a discrepancy between how mail() was called (empty $to) versus the DKIM-signature ('undisclosed-recipients:;').
2022-08-21 21:13:01 +02:00
Marcus Bointon a04c4c2d72
Clarify SMTP auth options, fixes #2732 2022-07-19 17:12:48 +02:00
Marcus Bointon 4d44b65893
Merge pull request #2728 from evan70/master
trim(): Passing null to parameter  ($string) of type string is deprecated
2022-07-08 00:15:12 +02:00
Marcus Bointon 10a6e3ec25
Cleanup 2022-07-08 00:12:21 +02:00
evan70 26371755e6
Update PHPMailer.php 2022-07-07 23:45:52 +02:00
Darren Eberly 1eb0816252 Automatic text/csv detection 2022-07-07 10:47:06 -04:00
mortalys e5f9e2aefc
Verification is required 2022-06-29 09:20:16 +01:00
Marcus Bointon 9400f305a8
6.6.3 2022-06-20 11:21:02 +02:00
Marcus Bointon 2f4b684353
Merge pull request #2707 from MathiasReker/0-simplified-if-return
simplified if return
2022-06-16 20:36:39 +02:00
Marcus Bointon 77d4559c26
Cleanup 2022-06-16 20:33:55 +02:00
Marcus Bointon 4daa547921
Remove unnecessary cast
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
2022-06-16 20:17:10 +02:00