Commit Graph

9 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
Marcus Bointon 0ed33daab6
Merge Serbian translation changes, fix incorrect ISO639 code and mapping, see #1598 2018-11-14 16:06:01 +01:00
Miloš Milanović cd15e050a4 Add Serbian translation (#1598) 2018-11-14 13:16:31 +01:00
Marcus Bointon 1194d56e92
Correct Serbian ISO language code from `sr` to `rs` 2017-07-26 22:09:06 +02:00
Велимир Мајсторов 56f072f57a Update for phpmailer.lang-sr.php (#1049)
Added and fixed missing translation.
Use this one, please.
2017-05-15 08:59:33 +01: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 4680d1f6cf Improve reporting of missing OpenSSL extension for SSl and TLS, see #378
Add 'missing extension' language string
Improve default handling of language strings
2015-03-16 10:23:38 +01:00
Synchro 9989207655 phpdoc cleanup in language files 2014-08-11 11:44:17 +02:00
Synchro 45aaab077b Add Serbian translation 2014-05-14 08:54:14 +02:00