TypeScript
[Worker] Worker 0 is ready!
Worker mails started
[Job] Received Job (664e85f1b3aaf6.87447589).
[Job] (664e85f1b3aaf6.87447589) failed to run.
[Job] (664e85f1b3aaf6.87447589) Error sending mail: SMTP Error: data not accepted.
Fatal error: Uncaught Exception: Failed to create connection: SQLSTATE[HY000] [1045] Access denied for user ''@'172.19.0.6' (using password: NO) in /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php:193
Stack trace:
#0 /usr/src/code/app/worker.php(47): Utopia\Pools\Pool->pop()
#1 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(99): {closure}(Object(Utopia\Cache\Cache), Object(Utopia\Registry\Registry))
#2 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(119): Utopia\Queue\Server->getResource('dbForConsole')
#3 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(99): Utopia\Queue\Server->getResources(Array)
#4 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(388): Utopia\Queue\Server->getResource('project')
#5 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(295): Utopia\Queue\Server->getArguments(Object(Utopia\Hook))
#6 [internal function]: Utopia\Queue\Server->Utopia\Queue\{closure}('0')
#7 /usr/src/code/vendor/utopia-php/queue/src/Queue/Adapter/Swoole.php(37): call_user_func(Object(Closure), '0')
#8 [internal function]: Utopia\Queue\Adapter\Swoole->Utopia\Queue\Adapter\{closure}(Object(Swoole\Process\Pool), '0')
}
thrown in /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php on line 193
Fatal error: Uncaught Swoole\Error: API must be called in the coroutine in /usr/src/code/vendor/phpmailer/phpmailer/src/SMTP.php:1269
Stack trace:
#0 /usr/src/code/vendor/phpmailer/phpmailer/src/SMTP.php(1269): stream_select(Array, NULL, NULL, 300)
#1 /usr/src/code/vendor/phpmailer/phpmailer/src/SMTP.php(1041): PHPMailer\PHPMailer\SMTP->get_lines()
#2 /usr/src/code/vendor/phpmailer/phpmailer/src/SMTP.php(936): PHPMailer\PHPMailer\SMTP->sendCommand('QUIT', 'QUIT', 221)
#3 /usr/src/code/vendor/phpmailer/phpmailer/src/PHPMailer.php(2298): PHPMailer\PHPMailer\SMTP->quit()
#4 /usr/src/code/vendor/phpmailer/phpmailer/src/PHPMailer.php(848): PHPMailer\PHPMailer\PHPMailer->smtpClose()
#5 [internal function]: PHPMailer\PHPMailer\PHPMailer->__destruct()
}
thrown in /usr/src/code/vendor/phpmailer/phpmailer/src/SMTP.php on line 1269
Trying to send email with Resend SMTP credentials, getting this error
TL;DR
Developers are trying to send emails using Resend SMTP credentials on AWS backend but are facing an error "SMTP Error: data not accepted." The error might be due to access denied for user or a SQL connection issue. Make sure the credentials are correctly configured.it uses Amazon AWS as the backend
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...