diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-05-15 12:14:32 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-05-15 12:14:32 +0000 |
commit | 38153c0f3e739f3d89a1a7734fd7d199bf457fab (patch) | |
tree | 28e19f4e091d5182a2c63bc98377e5381b0043ac /Postman/Postman-Configuration/PostmanSmtpDiscovery.php | |
parent | 942aa536210fe204a2d097eb8878c1d690e0547b (diff) | |
download | Post-SMTP-38153c0f3e739f3d89a1a7734fd7d199bf457fab.zip |
= 2.0 - 2019-05-15
* New: Mailer Type - Added an option to send without overwrite the 'wp_mail' function, better compability to WordPress delivery. hopefully will be the default in the future.
* Updated: Sendgrid API was upgraded and rewritten to the new version.
* Fixed: Message-Id header was missing on SMTP
* Fixed: Email logger optimization - better query for large amount of records.
* Fixed: The localization was fixed to match translate.wordpress.org translation system ( Thanks to Niels de Blaauw from Level-Level ).
* Fixed: Code and optimization ( Thanks to Niels de Blaauw from Level-Level ).
Diffstat (limited to 'Postman/Postman-Configuration/PostmanSmtpDiscovery.php')
-rw-r--r-- | Postman/Postman-Configuration/PostmanSmtpDiscovery.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Postman/Postman-Configuration/PostmanSmtpDiscovery.php b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php index 2d568cd..44da3bb 100644 --- a/Postman/Postman-Configuration/PostmanSmtpDiscovery.php +++ b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php @@ -117,7 +117,7 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) { /** * Constructor * - * @param unknown $email + * @param mixed $email */ public function __construct($email) { $this->email = $email; @@ -137,8 +137,8 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) { } /** * - * @param unknown $email - * @return Ambigous <number, boolean> + * @param mixed $email + * @return string|bool */ private function validateEmail($email) { return PostmanUtils::validateEmail ( $email ); @@ -171,7 +171,7 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) { /** * Uses getmxrr to retrieve the MX records of a hostname * - * @param unknown $hostname + * @param mixed $hostname * @return mixed|boolean */ private function findMxHostViaDns($hostname) { @@ -201,9 +201,9 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) { * This is a custom implementation of mxrr for Windows PHP installations * which don't have this method natively. * - * @param unknown $hostname - * @param unknown $mxhosts - * @param unknown $mxweight + * @param mixed $hostname + * @param mixed $mxhosts + * @param mixed $mxweight * @return boolean */ function getmxrr($hostname, &$mxhosts, &$mxweight) { |