Closed dischord01 closed 9 years ago
you sure those settings & credentials work for sending email? wordpress falls back to using php's mail()
which is configured based off those settings in mail.yml
Are you using the api key as password - or smtp credentials? https://help.mailgun.com/hc/en-us/articles/203380100-Where-can-I-find-my-API-key-and-SMTP-credentials-
(I am having the same issue)
After I slept on it - I reprovisioned and for me it worked. I think my issue was that I was deploying to the server, but not reprovisioning.
If it helps here is the functioning mail.yml:
mail_smtp_server: smtp.mailgun.org mail_admin: postmaster@mg.mydomain.com mail_hostname: mydomain.com mail_user: postmaster@mg.mydomain.com mail_password: mysmtpcredentialpassword
I was using the Mailgun API key not SMTP password. I changed it to SMTP password and it worked. Thanks!
I am able to send test emails from my server but not through wordpress. I get this error;
here is a sample of my mail.yml;
and this has been my Ansible deploy command;
Any ideas what the issue could be?