bounce won't work - error 500 on callback url

Hi, I’m trying to setup bounce management for Elasticemail followed by the instruction here. But I got this error when submit notification url (the link like: http://your-mautic-url.tld/mailer/elasticemail/callback)

Code:
HTTP Web Notifications URL couldn't be validated. The remote server returned an error: (500) Internal Server Error.

Here is the recent logs.
Code:
[2017-10-07 05:40:04] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [Connection timed out #110] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 05:46:42] mautic.NOTICE: Swift_TransportException: Connection to tcp://smtp.elasticemail.com:587 Timed Out (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 404 while running console command `mautic:emails:send` [] [] [2017-10-07 06:44:04] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [Connection timed out #110] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 22:21:25] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 15:24:41] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 15:26:42] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 15:27:44] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 22:27:46] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:37:56] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:39:39] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:40:02] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:40:07] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} []


Hi, I’m trying to setup bounce management for Elasticemail followed by the instruction here. But I got this error when submit notification url (the link like: http://your-mautic-url.tld/mailer/elasticemail/callback)

HTTP Web Notifications URL couldn't be validated. The remote server returned an error: (500) Internal Server Error.

Here is the recent logs.

[2017-10-07 05:40:04] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [Connection timed out #110] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 05:46:42] mautic.NOTICE: Swift_TransportException: Connection to tcp://smtp.elasticemail.com:587 Timed Out (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 404 while running console command `mautic:emails:send` [] [] [2017-10-07 06:44:04] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [Connection timed out #110] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 22:21:25] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 15:24:41] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 15:26:42] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 15:27:44] mautic.NOTICE: Swift_TransportException: Connection could not be established with host smtp.elasticemail.com [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (uncaught exception) at /home/mydomain/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 while running console command `mautic:emails:send` [] [] [2017-10-07 22:27:46] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:37:56] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:39:39] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:40:02] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} [] [2017-10-07 22:40:07] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentDependencyInjectionExceptionServiceNotFoundException: "You have requested a non-existent service "swiftmailer.mailer.transport.smtp"." at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php line 305 {"exception":"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "swiftmailer.mailer.transport.smtp". at /home/mydomain/public_html/vendor/symfony/dependency-injection/Container.php:305)"} []

Oh I’ve figured it out.

In the email SMTP configuration I change from “Other” to “Elasticemail.”
Then remove the slash at the end of my mautic url.