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

186 Commits

Author SHA1 Message Date
Marco Muths
5c9d3c5484 Add flag for using copiedHeaderFields and config for using extra headers in DKIM signature (#1468)
* Changed in DKIM signature

- Add flag for using copiedHeaderFields
- config for using extra headers in DKIM signature

* Cleanups after Review

- Don't use masked ampersands in url
- Remove test related artifacts after run

* Complete docs
2018-06-26 17:04:38 +02:00
François B
10341cc310 Make idnSupported() static (#1203)
Upgrade guide and changelog say that idnSupported() is now static, but it actually isn't.

Probably this PR should wait v6.1 or other version where breaking changes are OK.
2017-10-14 08:22:54 +02:00
Marcus Bointon
d47a148ebc
Add missing POP3 name import 2017-09-29 16:10:11 +02:00
Marcus Bointon
f47cfbdd75
Switch to using max line length *without* including line break length. See #1181 2017-09-29 16:09:25 +02:00
Filippo Tessarotto
992392437c Tests improvements (#1162)
* Move tests to proper namespace; enforce signatures

* Travis stages, check coding-standard before tests

* Test against PHP 7.2

* CS Fix

* Remove php-cs-fixer on test builds

* Travis: remove phpdocumentor/phpdocumentor from builds

* Allow PHPUnit 5
2017-09-14 18:47:12 +02:00
Filippo Tessarotto
dc54e2b93c Show debug log only when tests fail (#1161) 2017-09-14 15:56:04 +02:00
Filippo Tessarotto
9e05e796d0 Enforce PSR-4 (#1159) 2017-09-14 12:55:50 +02:00
Marcus Bointon
28a306bfbd
Reset to SMTP mailer for line break tests 2017-09-12 09:49:15 +02:00
Marcus Bointon
819f540c77
Reset to SMTP mailer for line break tests 2017-09-12 09:17:58 +02:00
Marcus Bointon
2feb461f04
Add test for sending DKIM-signed message via mail() 2017-09-12 09:00:40 +02:00
Marcus Bointon
700ea0983d
Code style fixes 2017-09-08 16:19:20 +02:00
Marcus Bointon
31493b6732
Big cleanup for Symfony coding style and php-cs-fixer, see #1148 2017-09-07 18:21:09 +02:00
Marcus Bointon
de3db41419
Casts & PHPDoc boolean -> bool, see http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration 2017-09-07 11:17:37 +02:00
Marcus Bointon
3f80e2dc92
Fix obtaining transaction ID when keepalive is active, fixes #1123 2017-08-11 13:55:51 +02:00
Marcus Bointon
1e3f4e4062
Merge remote-tracking branch 'remotes/origin/master' into 6.0
# Conflicts:
#	VERSION
#	changelog.md
#	examples/code_generator.phps
#	src/PHPMailer.php
#	src/POP3.php
#	src/SMTP.php
#	test/phpmailerTest.php
2017-07-26 23:10:42 +02:00
Marcus Bointon
cb2be11013
Add failing test for #1094
Exercise more bad host checks
2017-07-26 22:51:02 +02:00
Marcus Bointon
d8880934f5 No empty parens on new 2017-06-29 21:54:47 +02:00
Marcus Bointon
b25f93eb2d
More reliable folding of message headers 2017-05-22 18:53:00 +02:00
Marcus Bointon
70e35cc9da
Rewrite host checks to be more predictable, add more test cases 2017-05-12 15:13:08 +02:00
Marcus Bointon
9f08355ed3
Add host validation tests
Improve host validator
2017-05-12 09:43:46 +02:00
Marcus Bointon
1f9a66492a
Replace all uses of MD5 and SHA1 with SHA256
Use more secure method of generating IDs
2017-05-11 18:41:34 +02:00
Marcus Bointon
c3aba6d974
Test suite now works on HHVM on Travis-CI 2017-03-02 16:09:45 +01:00
Marcus Bointon
4eaed21a6e
Avoid HHVM problem with file:// URL 2017-03-01 18:49:09 +01:00
Marcus Bointon
bb5ca4329b
Clean up 2017-02-14 19:24:45 +01:00
Marcus Bointon
1e267b66a6
Avoid possibility of line length being too short to trigger test if LE is 1 char 2017-02-14 13:46:50 +01:00
Marcus Bointon
ec5661e699
More test feedback 2017-02-14 12:14:19 +01:00
Marcus Bointon
16a060be1a
More test feedback 2017-02-14 01:32:41 +01:00
Marcus Bointon
8e8da27e3d
Fix tests 2017-02-14 00:16:25 +01:00
Marcus Bointon
02332a843f
Attempt solution to line break issue, see #953 2017-02-13 23:55:05 +01:00
Marcus Bointon
016cb3395c
Fix INCLUDE_DIR 2017-01-09 12:19:12 +01:00
Marcus Bointon
96c5d32386
Extend line break tests 2017-01-09 10:19:14 +01:00
Marcus Bointon
8914ec7a4b
Merge branch 'master' into 6.0
# Conflicts:
#	VERSION
#	examples/contentsutf8.html
#	src/PHPMailer.php
#	src/POP3.php
#	src/SMTP.php
#	test/bootstrap.php
2017-01-06 23:34:57 +01:00
Marcus Bointon
48e8cac067
Improve msgHTML tests 2017-01-06 22:30:55 +01:00
Marcus Bointon
d1a7de4e94
Make test bootstrap a bit more flexible 2017-01-06 22:27:49 +01:00
Marcus Bointon
789e0846ab
Merge branch 'master' into 6.0
# Conflicts:
#	VERSION
#	extras/htmlfilter.php
#	src/PHPMailer.php
#	src/POP3.php
#	src/SMTP.php
#	test/phpmailerTest.php
2016-12-29 14:01:45 +01:00
Marcus Bointon
dbbbf49d61
Unbreak tests 2016-12-24 15:26:34 +01:00
Marcus Bointon
e0fefda64b
5.2.18 2016-12-24 01:06:31 +01:00
corentinheadoo
a55b67d965 Fix: function call is not case-sensitive (#857) 2016-10-17 16:38:25 +02:00
Marcus Bointon
6931f31028 Simplify validation options, default to filter_var, see #804 2016-09-03 01:02:38 +02:00
Marcus Bointon
1e53c07286 Minor fixes, code style 2016-08-31 10:26:06 +02:00
Marcus Bointon
51e8e91c20 PHPCBF phpdoc cleanup 2016-08-29 11:04:27 +02:00
Marcus Bointon
63e0a2c1db PHPCBF phpdoc cleanup 2016-08-29 10:29:13 +02:00
Marcus Bointon
593a0c586a Remove unneeded PHPDoc tags: @static, @access, @return void, @private
@link -> @see (PSR-5)
Always use `boolean`
2016-08-29 10:21:39 +02:00
Marcus Bointon
ec4c2ee867 Standardise on CRLF line breaks
Better auth mechanism selection
2016-05-23 10:30:31 +02:00
Marcus Bointon
e61b522f2d Merge branch 'master' into 6.0
# Conflicts:
#	src/PHPMailer.php
#	src/SMTP.php
2016-05-22 21:11:00 +02:00
Marcus Bointon
d3c73b1739 Reset encoding on simple bodies, hopefully will fix #728! 2016-05-22 10:26:48 +02:00
Marcus Bointon
c27c1597bc Fix build
Actually changes the test to test a different thing, still need to deal with what it was originally testing.
2016-05-22 01:25:10 +02:00
Marcus Bointon
1a7f380457 Fix test case 2016-05-09 11:36:15 +02:00
Marcus Bointon
86d2b069d8 Merge branch 'master' into 6.0
# Conflicts:
#	changelog.md
#	test/phpmailerTest.php
2016-05-09 11:34:42 +02:00
Marcus Bointon
77c0bc8d28 Add ability to inject custom validator and set custom default validator, fixes #573 2016-05-09 11:18:50 +02:00