By shahidkamal
I see this in mail header ( when sent using nodemailer) Received: from [127.0.0.1] (unknown [x.x.x.x]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by app.payorcrm.com (Postfix) with ESMTPSA id 7A2E4C2294 for xxx@gmail.com; Fri, 22 Sep 2017 15:07:25 +0000 (UTC)
But the 127.0.0.1 is not present when sent using cli…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I would recommend using SMTP to send out your emails. This would drastically improve the delivery rate of your emails and you would have the correct host in your email headers.
For example you could use Gmail’s SMTP service or setup your own on your droplet. If you decide to go with Gmail here’s a nice guide on how to configure and set that all up:
https://codeburst.io/sending-an-email-using-nodemailer-gmail-7cfa0712a799
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.