Commit Graph

2701 Commits

Author SHA1 Message Date
Georg Sieber 5470c1e795
add test 2025-09-11 22:52:01 +02:00
Georg Sieber fd9f8d33cb
fix encoding header for SMIME signed messages with long lines 2025-09-11 19:03:20 +02:00
Manuel Camargo 6a6e66abf4
Merge branch 'master' into patch/3201 2025-09-11 14:42:41 +02:00
SirLouen b1b1f65f0b
Merge branch 'master' into patch/3201 2025-09-11 14:32:06 +02:00
SirLouen 7e61c84718
Add an extra test 2025-09-09 17:18:43 +02:00
Marcus Bointon 5ddea0610b
Merge pull request #3217 from SirLouen/patch/3210
Modularizing and Simplifying the Address Parser
2025-09-02 21:11:31 +02:00
SirLouen 3c93e8d6f3
Adding Temporary Specific Tests for Native Function 2025-08-24 16:03:51 +02:00
SirLouen e72170c6ba
Little separator line 2025-08-24 15:38:03 +02:00
SirLouen 69a2b8038f
Removing Tests. Reintroducing them fixed in #3197 2025-08-24 15:37:42 +02:00
SirLouen 0ce6905391
Merge branch 'master' into patch/3210 2025-08-24 15:29:04 +02:00
Marcus Bointon a848a67c50
Merge pull request #3216 from SirLouen/patch/3215
Staticfying the Language Pack
2025-08-24 15:08:15 +02:00
SirLouen 22885eaf4a
Preparing new version for no-IMAP, Tests Pending 2025-08-23 16:40:10 +02:00
SirLouen b41dd255a2
Staticfying the Language Pack 2025-08-23 16:16:14 +02:00
Marcus Bointon 85f7f98f59
Merge branch 'master' into patch/3201
# Conflicts:
#	src/PHPMailer.php
2025-08-22 17:25:24 +02:00
SirLouen f2af1cafb5
Merge from master 2025-08-22 17:20:23 +02:00
SirLouen 34c6423ac6
Sorting the Array problem in doCallback 2025-08-22 17:19:27 +02:00
Marcus Bointon 81eedda461
Alphabetical 2025-08-22 16:49:10 +02:00
Marcus Bointon d43654d445
Merge pull request #3208 from SirLouen/patch/3207
Sorting the Array problem in doCallback
2025-08-22 15:15:04 +02:00
Marcus Bointon 19f17f8aeb
CS 2025-08-22 15:12:14 +02:00
Marcus Bointon fef2d5cf15
Merge branch 'master' into patch/3201 2025-08-22 10:46:57 +02:00
Marcus Bointon f78d341f06
Merge pull request #3191 from jrfnl/feature/fix-test-runtime-deprecations-php-8.5
PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAccessible()
2025-08-22 10:45:27 +02:00
Marcus Bointon 276eb1e879
Merge pull request #3211 from jrfnl/feature/fix-lint-issue-php-8.5
Fix linting issue on PHP 8.5
2025-08-22 10:44:33 +02:00
jrfnl 855bf067fc
Fix linting issue on PHP 8.5
As per the options described in https://github.com/PHPMailer/PHPMailer/pull/3202#issuecomment-3212478928.

Note: the linting ignore comment triggers some PHPCS errors (_sigh_), so I'm selectively excluding those.
Alternatively, it could be considered to exclude test fixture files completely from the PHPCS scan.
2025-08-22 02:27:01 +02:00
Marcus Bointon da0cffbc05
CS 2025-08-21 10:23:38 +02:00
SirLouen 71dfc112c9
Better this deprecation method 2025-08-19 16:04:16 +02:00
SirLouen f1255a0a55
Deprecation & Composer Updates 2025-08-19 16:00:45 +02:00
SirLouen 97f4e58e18 Sorting the Array problem in doCallback 2025-08-17 13:18:53 +02:00
SirLouen f7b82634c9 Return useimap for BC 2025-08-17 12:28:52 +02:00
SirLouen 99b482752e Final Act including iconv_mime_decode 2025-08-17 00:01:46 +02:00
SirLouen d2fc22a4f1 Fixing #3204 2025-08-16 18:28:42 +02:00
SirLouen a3ddc21741 Adding Tests 2025-08-16 00:05:45 +02:00
SirLouen bf8e97d3c8 Adding Name Encoding Improvement without MbString Extension 2025-08-14 02:19:38 +02:00
Marcus Bointon 800919c6a4
Merge pull request #3193 from christianseel/patch-1
Enhance 'interrupted system call' check to handle non-english locale
2025-08-13 00:38:01 +02:00
SirLouen 2f92d9c841 Improving Copy for mbstring intl test requirements 2025-08-12 23:50:19 +02:00
Christian Seel 5b970527ae
Enhance interrupted system call check for non-english locale
on applications with a different locale than english, the message "interrupted system call" is not found because it's translated. So we also check for the SOCKET_EINTR constant which is defined under Windows and UNIX-like platforms (if available on the platform).
2025-08-11 14:09:44 +02:00
Marcus Bointon ca34869b2c
Merge pull request #3190 from jrfnl/feature/ghactions-show-startup-errors
GH Actions: update PHP ini configuration
2025-08-10 10:14:27 +02:00
jrfnl 096b24646e
PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAccessible()
Since PHP 8.1, calling the `Reflection*::setAccessible()` methods is no longer necessary as reflected properties/methods/etc will always be accessible.
However, the method calls are still needed for PHP < 8.1.

As of PHP 8.5, calling the `Reflection*::setAccessible()` methods is now formally deprecated and will yield a deprecation notice, which will fail test runs.
As of PHP 9.0, the `setAccessible()` method(s) will be removed.

With the latter in mind, this commit prevents the deprecation notice by making the calls to `setAccessible()` conditional.

Silencing the deprecation would mean, this would need to be "fixed" again come PHP 9.0, while the current solution should be stable, including for PHP 9.0.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#extreflection_deprecations
2025-08-10 05:38:47 +02:00
jrfnl 91ef7d0e54
GH Actions: update PHP ini configuration
Add `display_startup_errors=On` as per the current recommendation from PHPUnit.

Ref: b3b159cbe9
2025-08-10 05:32:47 +02:00
Marcus Bointon f202f351ca
Don't use `-t` switch with qmail, see #3189 2025-08-08 11:58:13 +02:00
Marcus Bointon 52d0fe4916
Merge pull request #3187 from jrfnl/feature/ghactions-dont-run-cronjobs-on-forks
GH Actions: don't run cron jobs on forks
2025-08-04 18:26:34 +02:00
jrfnl fc8c76f3be
GH Actions: don't run cron jobs on forks
While workflows are disabled by default in forks, it is quite common for contributors to enable them to verify CI will pass before submitting a pull request.

When enabling workflow runs in forks, it's "all or nothing".
This means that:
* All workflows which are only intended to be run on the canonical repo will also be enabled.
    These workflows will also often need access to repo-specific secrets and will typically fail when run from a fork.
* Workflows which contain cron jobs will also be enabled.
    Depending on the type of account the contributor has, this can burn through their "CI minutes".

This commit is based on a review of workflows containing cron jobs and disables running the jobs when a cron job is triggered in a fork.
2025-08-04 18:10:23 +02:00
Marcus Bointon 0ff2d3c8ea
Changelog 2025-06-18 23:02:11 +02:00
Marcus Bointon a2fa102104
Merge pull request #3170 from llemoine/master
XOAUTH : Added support for long auth tokens
2025-06-18 22:52:38 +02:00
Marcus Bointon ffbe1ad27f
CS 2025-06-18 20:32:55 +02:00
Marcus Bointon ce9d1b6883
Add support for empty tokens 2025-06-18 19:37:59 +02:00
Marcus Bointon 90cdf758c2
Clean up 2025-06-18 19:37:28 +02:00
LE MOINE Laurent 5fc635571b Fixed typo and added strict comparison on response code 2025-06-18 16:19:12 +02:00
LE MOINE Laurent 8ca031797f Added support for maximum command size during XOAUTH2 authentication 2025-06-18 11:01:34 +02:00
Marcus Bointon 912f278a48
Add workaround for #3163 2025-05-31 10:46:53 +02:00
Marcus Bointon 2efdf63a32
Add formatting script 2025-05-31 10:41:07 +02:00