wpexpertsio / Post-SMTP

Next generation SMTP mailer plugin for WordPress. Trusted by over 300,000 sites by WPExperts.io
https://wordpress.org/plugins/post-smtp/
55 stars 27 forks source link

MessageID should be enclosed with <brokets> #55

Open pmalecka opened 4 years ago

pmalecka commented 4 years ago

Gmail replaces the messageID with the following (example):5e8752d4.1c69fb81.87a9f.b122SMTPIN_ADDED_BROKEN@mx.google.com

PostManWpMail.php, on line 87 should be as follows: return '<'.$id . '@' . str_replace('www.', '', $hostName).'>';