summaryrefslogtreecommitdiff
path: root/Postman/PostmanWpMail.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/PostmanWpMail.php')
-rw-r--r--Postman/PostmanWpMail.php3
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);
+
}
/**