Hi,
SMTP Mail configuration is set correctly. Tested connection there is no problem to it. I have received the test mail.
So, i setup some test notifications and when i checked the “list sent emails” status are failed with no other explanations.
Then i go check the logs it says “Name or service not known” yet test mail work perfectly fine.
Any help is appreciated.
Thank you
Here is the log i talked about:
2025-02-27 10:00:03 debug: Cake\Network\Exception\SocketException: php_network_getaddresses: getaddrinfo for smtp-test.cencored.company.com failed: Name or service not known in /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Network/Socket.php:171
Stack trace:
#0 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Mailer/Transport/SmtpTransport.php(292): Cake\Network\Socket->connect()
#1 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Mailer/Transport/SmtpTransport.php(199): Cake\Mailer\Transport\SmtpTransport->_connect()
#2 /var/www/eramba/app/upgrade/src/Mailer/Mailer.php(148): Cake\Mailer\Transport\SmtpTransport->send(Object(App\Mailer\Message))
#3 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Mailer/Mailer.php(316): App\Mailer\Mailer->deliver()
#4 /var/www/eramba/app/upgrade/src/Model/Entity/Queue.php(67): Cake\Mailer\Mailer->send()
#5 /var/www/eramba/app/upgrade/src/Queue/Task/EmailQueueTask.php(51): App\Model\Entity\Queue->flush()
#6 /var/www/eramba/app/upgrade/vendor/dereuromark/cakephp-queue/src/Queue/Processor.php(214): App\Queue\Task\EmailQueueTask->run(Array, 13264)
#7 /var/www/eramba/app/upgrade/vendor/dereuromark/cakephp-queue/src/Queue/Processor.php(161): Queue\Queue\Processor->runJob(Object(Queue\Model\Entity\QueuedJob), '1151214')
#8 /var/www/eramba/app/upgrade/vendor/dereuromark/cakephp-queue/src/Command/RunCommand.php(112): Queue\Queue\Processor->run(Array)
#9 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Console/BaseCommand.php(192): Queue\Command\RunCommand->execute(Object(Cake\Console\Arguments), Object(Queue\Console\Io))
#10 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Console/CommandRunner.php(327): Cake\Console\BaseCommand->run(Array, Object(Cake\Console\ConsoleIo))
#11 /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Console/CommandRunner.php(168): Cake\Console\CommandRunner->runCommand(Object(Queue\Command\RunCommand), Array, Object(Cake\Console\ConsoleIo))
#12 /var/www/eramba/app/upgrade/bin/cake.php(12): Cake\Console\CommandRunner->run(Array)
#13 {main}
We are using enterprise
App Version
3.25.2