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.
Remove stray comment chars in Arabic translation
Correct UTF-8 encoding of Russian and Chinese translations
Use single quotes in all array indices in language files
Remove unnecessary string concatenations and blank lines
Japanese and Polish are still broken
Ensure all files use UTF-8, no BOM
Ensure all files use Unix line breaks, and have no trailing line break
Arabic language was corrupted, so reimported from sourceforge patch
Files that previously used HTML entities now use correct UTF-8 characters
Looks like japanese and polish are corrupt, but I don't speak them to fix them!