ZachHandley
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. ZachHandley
it uses Amazon AWS as the backend
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...