By emanuelones
I have a droplet that runs on Ubuntu 18.04 and i’m trying to send a few emails(2/day) to my own email accounts(Google and Yahoo). On this droplet i only have the IP up and running(no domain name) and i’m using PHPMailer.
The first email made it to Yahoo but since then no email survived(not even as SPAM).
Is there a problem with not having a domain name?
Thank you!
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!
You don’t need to have a domain associated with a droplet in order to send emails to external mail services. I suggest you take a look at the logs of your MTA (Mail Transfer Agent) to see what’s happening when the droplet tries to send an email.
You haven’t mentioned which exact MTA you’re using on your droplet (exim4, Postfix, sendmail, etc.) so I can’t point you to the exact log location, but you’ll likely find what you’re looking for in /var/log where all logs are usually stored. The logs will give you at least a general idea of what’s the root cause of the issue and will make further troubleshooting easier.
Also, it’s important to note that the emails you send from your droplet after you resolve the issue will likely start ending up in the Spam folder on the receiving end since you don’t have proper SPF, DKIM & DMARC DNS records for your droplet. There’s really no way around that other than manually marking the emails as not spam in an attempt to train the spam filters to start letting the emails coming from your droplet’s IP go to the Inbox folder.
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.