Commit Graph

5 Commits

Author SHA1 Message Date
Marcus Bointon 22e81749ae
Switch from PHP CS fixer to phpcs and apply PSR12 reformatting 2020-10-13 15:08:42 +02:00
Foster Forst Snowhill 3b660771d0 Updated Russian localization
* Translated "Extension missing: "
* Removed duplicate "Extension missing: " stub in Galician
* Added "Extension missing: " stub to Hebrew
2015-10-28 18:27:41 +03:00
François B 0fa9518609 Allow addresses with IDN
Accepts Internationalized Domain Name everywhere PHPMailler expects
email addresses (To, CC, BCC, Reply-To, From, Sender and
ConfirmReadingTo).

Requires PHP >= 5.3 with "intl" extension installed and "mbstring"
extension enabled. Earlier versions don't see a change, i.e. specifying
an address with IDN still fails validation.

Follow-up to PR #516. Ran test/phpmailerTest.php

Other changes:

- From, Sender and ConfirmReadingTo addresses are now validated in
send(). Previously, only From and Sender addresses would be validated
only if specified via the setFrom() method. ConfirmReadingTo was never
validated.

- Half language strings for the 'invalid_address' message used colon at
the end and half didn't. Harmonized messages to always include colon,
and not add a second one with PHP code.
2015-10-14 22:02:07 +02:00
Synchro 9989207655 phpdoc cleanup in language files 2014-08-11 11:44:17 +02:00
Synchro 9f9cea9f7d Add Hebrew language support, thanks to Ronny Sherer 2013-01-23 15:06:57 +01:00