ZachHandleyOriginal post
Moderator
PHP
[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:193Stack 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 193Fatal error: Uncaught Swoole\Error: API must be called in the coroutine in /usr/src/code/vendor/phpmailer/phpmailer/src/SMTP.php:1269Stack 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 1269Trying to send email with Resend SMTP credentials, getting this error
Summary
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.