Last active
September 20, 2021 14:20
-
-
Save tuupola/4039be4795accec9745c13ae0a84e111 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
$mailer->send($email); | |
} catch (TransportException $exception) { | |
var_dump($exception->getMessage()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string(8403) "Failed to authenticate on SMTP server with username "apikey" using the following authenticators: "LOGIN", "PLAIN". Authenticator "LOGIN" returned "Symfony\Component\Mailer\Exception\TransportException: Expected response code "235" but got code "535", with message "535 Authentication failed: The provided authorization grant is invalid, expired, or revoked". in /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:306 | |
Stack trace: | |
#0 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(180): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->assertResponseCode() | |
#1 /vagrant/vendor/symfony/mailer/Transport/Smtp/Auth/LoginAuthenticator.php(37): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->executeCommand() | |
#2 /vagrant/vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php(165): Symfony\Component\Mailer\Transport\Smtp\Auth\LoginAuthenticator->authenticate() | |
#3 /vagrant/vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php(130): Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport->handleAuth() | |
#4 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(251): Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport->doHeloCommand() | |
#5 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(192): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->start() | |
#6 /vagrant/vendor/symfony/mailer/Transport/AbstractTransport.php(68): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->doSend() | |
#7 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(132): Symfony\Component\Mailer\Transport\AbstractTransport->send() | |
#8 /vagrant/vendor/symfony/mailer/Mailer.php(42): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send() | |
#9 /vagrant/app.php(241): Symfony\Component\Mailer\Mailer->send() | |
#10 [internal function]: Closure->{closure}() | |
#11 /vagrant/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func() | |
#12 /vagrant/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke() | |
#13 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke() | |
#14 /vagrant/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack() | |
#15 /vagrant/vendor/slim/slim/Slim/App.php(503): Slim\Route->run() | |
#16 /vagrant/vendor/tuupola/callable-handler/src/CallableHandler.php(51): Slim\App->__invoke() | |
#17 /vagrant/vendor/tuupola/branca-middleware/src/BrancaAuthentication.php(132): Tuupola\Middleware\CallableHandler->handle() | |
#18 /vagrant/vendor/tuupola/callable-handler/src/DoublePassTrait.php(47): Tuupola\Middleware\BrancaAuthentication->process() | |
#19 [internal function]: Tuupola\Middleware\BrancaAuthentication->__invoke() | |
#20 /vagrant/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() | |
#21 [internal function]: Slim\DeferredCallable->__invoke() | |
#22 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() | |
#23 /vagrant/vendor/tuupola/callable-handler/src/CallableHandler.php(51): Slim\App->Slim\{closure}() | |
#24 /vagrant/vendor/tuupola/server-timing-middleware/src/ServerTimingMiddleware.php(102): Tuupola\Middleware\CallableHandler->handle() | |
#25 /vagrant/vendor/tuupola/callable-handler/src/DoublePassTrait.php(47): Tuupola\Middleware\ServerTimingMiddleware->process() | |
#26 [internal function]: Tuupola\Middleware\ServerTimingMiddleware->__invoke() | |
#27 /vagrant/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() | |
#28 [internal function]: Slim\DeferredCallable->__invoke() | |
#29 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() | |
#30 /vagrant/vendor/akrabat/ip-address-middleware/src/IpAddress.php(154): Slim\App->Slim\{closure}() | |
#31 [internal function]: RKA\Middleware\IpAddress->__invoke() | |
#32 /vagrant/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() | |
#33 [internal function]: Slim\DeferredCallable->__invoke() | |
#34 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() | |
#35 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}() | |
#36 /vagrant/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack() | |
#37 /vagrant/vendor/slim/slim/Slim/App.php(297): Slim\App->process() | |
#38 /vagrant/app.php(261): Slim\App->run() | |
#39 /vagrant/public/index.php(2): require('...') | |
#40 {main}". Authenticator "PLAIN" returned "Symfony\Component\Mailer\Exception\TransportException: Expected response code "235" but got an empty response. in /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:299 | |
Stack trace: | |
#0 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(180): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->assertResponseCode() | |
#1 /vagrant/vendor/symfony/mailer/Transport/Smtp/Auth/PlainAuthenticator.php(35): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->executeCommand() | |
#2 /vagrant/vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php(165): Symfony\Component\Mailer\Transport\Smtp\Auth\PlainAuthenticator->authenticate() | |
#3 /vagrant/vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php(130): Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport->handleAuth() | |
#4 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(251): Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport->doHeloCommand() | |
#5 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(192): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->start() | |
#6 /vagrant/vendor/symfony/mailer/Transport/AbstractTransport.php(68): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->doSend() | |
#7 /vagrant/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(132): Symfony\Component\Mailer\Transport\AbstractTransport->send() | |
#8 /vagrant/vendor/symfony/mailer/Mailer.php(42): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send() | |
#9 /vagrant/app.php(241): Symfony\Component\Mailer\Mailer->send() | |
#10 [internal function]: Closure->{closure}() | |
#11 /vagrant/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func() | |
#12 /vagrant/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke() | |
#13 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke() | |
#14 /vagrant/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack() | |
#15 /vagrant/vendor/slim/slim/Slim/App.php(503): Slim\Route->run() | |
#16 /vagrant/vendor/tuupola/callable-handler/src/CallableHandler.php(51): Slim\App->__invoke() | |
#17 /vagrant/vendor/tuupola/branca-middleware/src/BrancaAuthentication.php(132): Tuupola\Middleware\CallableHandler->handle() | |
#18 /vagrant/vendor/tuupola/callable-handler/src/DoublePassTrait.php(47): Tuupola\Middleware\BrancaAuthentication->process() | |
#19 [internal function]: Tuupola\Middleware\BrancaAuthentication->__invoke() | |
#20 /vagrant/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() | |
#21 [internal function]: Slim\DeferredCallable->__invoke() | |
#22 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() | |
#23 /vagrant/vendor/tuupola/callable-handler/src/CallableHandler.php(51): Slim\App->Slim\{closure}() | |
#24 /vagrant/vendor/tuupola/server-timing-middleware/src/ServerTimingMiddleware.php(102): Tuupola\Middleware\CallableHandler->handle() | |
#25 /vagrant/vendor/tuupola/callable-handler/src/DoublePassTrait.php(47): Tuupola\Middleware\ServerTimingMiddleware->process() | |
#26 [internal function]: Tuupola\Middleware\ServerTimingMiddleware->__invoke() | |
#27 /vagrant/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() | |
#28 [internal function]: Slim\DeferredCallable->__invoke() | |
#29 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() | |
#30 /vagrant/vendor/akrabat/ip-address-middleware/src/IpAddress.php(154): Slim\App->Slim\{closure}() | |
#31 [internal function]: RKA\Middleware\IpAddress->__invoke() | |
#32 /vagrant/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() | |
#33 [internal function]: Slim\DeferredCallable->__invoke() | |
#34 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() | |
#35 /vagrant/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}() | |
#36 /vagrant/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack() | |
#37 /vagrant/vendor/slim/slim/Slim/App.php(297): Slim\App->process() | |
#38 /vagrant/app.php(261): Slim\App->run() | |
#39 /vagrant/public/index.php(2): require('...') | |
#40 {main}"." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment