* Hindi translations for php mailer
I directly uploaded to GitHub, because my fork is a legacy version now and I am having merge conflicts now
* updated hindi language
updated last missing translation and removed comment
* Update README.md
Added links to the recommended optional libraries.
Changed order of "Upgrading from 5.2" and "Legacy versions", i think this way is more logical to read.
Updated language quantity in the "Localization" section.
* Update README.md
Corrected review
* Update README.md
* Update phpmailer.lang-es.php
Added missing point to make grammatically correct and consistent with the other translations.
Many of the PHP extensions used by PHPMailer are optional, in one of
two senses. Either there is a fallback if the extension is not
present, or the use of the extension is avoidable entirely. For
example, there is a fallback parser if "imap_rfc822_parse_adrlist" is
not available, and OpenSSL is not needed unless encryption is used;
therefore neither are hard dependencies.
The filter extension, on the other hand, is unavoidable. It is used
unconditionally, with no fallbacks, in (for example) the "isValidHost"
function. This commit adds "ext-filter" to composer.json, to document
the dependency and to help out composer users.
Closes: https://github.com/PHPMailer/PHPMailer/issues/1298
Adding the missing translation.
Due to the flexibility of Esperanto, there is actually many ways of saying "Extension missing". I selected this one, even tho it's not the literal translation (what would rather be more like "Manki etendo" as the "missing" is used as an adjective, not as a verb), because I think this way is much more understandable.
* use instanceof instead of is_a
is_a is deprecated since 5.0.0 in favour of instanceof operator
http://php.net/is_a
this allows using class aliases instead of strings
* do not assign null to class properties
that is default behaviour of php engine
* use stripos instead of stristr
* use faster $array[]= $value instead of array_push
* add SuspiciousAssignmentsInspection noinspection to shut up ide
* use call_user_func with defined args
* avoid overwriting $error parameter
* apply more yoda-style
Adds the address kind (From, Sender, ConfirmReadingTo) instead of word punyEncode which is internal to PHPMailer and not so helpful.
Similarly, removes word addAnAddress (internal) but keeps only address kind (to, cc, bcc, Reply-To).
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.