By ddesjardins
Hi,
I am fairly green at development and technical stuff so not sure if I mess with initial server setup or the email feature are just block at this point.
I have installed wordpress (following instruction from the community) including LAMP.
Wordpress is being installed and work properly but I do not receive any email such as new user notification neither general contact form.
Could you please let me know if problem might be because SMTP is blocked on DO’s side for my account. Up to date, the following has been done :
Initial server setup LAMP (site was hosted first on server IP before pointing domain to it later) Wordpress installed
Domain registered at GD DNS has been set I believe properly
Looking forward to hear from you shortly
Best, Dominic
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!
Just in case you are still trying to resolve this issue, I suggest that you add the IP of your droplet to the SPF record of you mail server’s domain in DNS.
Hi! In order to send mail from php applications like Wordpress you need to set up an MTA on your droplet like postfix or sendmail. You can do this with:
apt-get install postfix
Once an MTA is installed php’s mail() function can use it to send your outgoing messages.
Thanks for your prompt reply.
I forgot to mention I have already done
sudo apt-get install sendmail
Should I try postfix instead? Will it conflict with sendmail by doing so? If yes, do I have to remove “sendmail” somehow?
Thanks
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.