diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-27 21:23:41 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-27 21:23:41 +0000 |
commit | 6372e454198ed7a1a792b5bfd286af1178ae7d63 (patch) | |
tree | fc8259384657cfebd76be774abd214f17eea680c /Postman/PostmanWpMail.php | |
parent | 69ef56ca57030e9c76e03ea937c9bdef1a4a3750 (diff) | |
download | Post-SMTP-6372e454198ed7a1a792b5bfd286af1178ae7d63.zip |
Security and bugs
Diffstat (limited to 'Postman/PostmanWpMail.php')
-rw-r--r-- | Postman/PostmanWpMail.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Postman/PostmanWpMail.php b/Postman/PostmanWpMail.php index 85f3ebd..3a2b508 100644 --- a/Postman/PostmanWpMail.php +++ b/Postman/PostmanWpMail.php @@ -82,7 +82,8 @@ if ( ! class_exists( 'PostmanWpMail' ) ) { $hostName = php_uname('n'); } - return $id . '@' . $hostName; + return $id . '@' . str_replace('www.', '', $hostName); + } /** |