Email not sending.
-
I have just finished setting up the panel on an entirely new instance of a vps. Everything went without a hitch but this one thing. I cannot get the system to send email at all. Neither though the PHP mail() nor the mailgun setup. I have the correct api key in and everything. Any tips or is there just something obvious im missing.
-
Can you post the contents of any logs located in /srv/pufferpanel/logs, as well as the PHP error log (usually /var/log/php-fpm.log or similar)? You can paste them to http://paste.ee and give us the URL it takes you to if they are large.
-
This is the only thing in the error folder currently https://gyazo.com/ffc34b072c7c1460b5d46880e931a042
and this is the only thing in php error log http://paste.ee/p/BvUM4
-
bump? Im racking my brain here.
-
Test your mailgun api with somehting like this:
curl -s --user 'api:YOUR_API_KEY' \ https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \ -F from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \ -F to=YOU@YOUR_DOMAIN_NAME \ -F to=bar@example.com \ -F subject='Hello' \ -F text='Testing some Mailgun awesomness!'
read more here
The console will tell you whats wrong with the api of there's any errors. Also you'll need to add/verify your domain to your mailgun account or the api wont work.
-
Did the test that @digitronic-games posted work? I am curious if this is a bug with the library that we use for Mailgun.