Rank 1: Thread
Hello, I am trying to get sending e-mails through appwrite to work, however each time an e-mail is supposedly sent, it doesn't actually get sent. The worker-mails container logs return the following:
...has failed Exception: Error sending mail: SMTP Error: Could not connect to SMTP host. in /usr/src/code/app/workers/mails.php:68
Stack trace:
#0 /usr/src/code/src/Appwrite/Resque/Worker.php(122): MailsV1->run()
#1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
#2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
#3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
#4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
#5 {main}
I have tried two different external SMTP services, one which we use for mails (seznam.cz) and now Sendgrid and I am 100% sure that the credentials are correct. My VPS provider should not be blocking them, because I can succesfully telnet to them both.