Problems with Email Event Handler
I am currently trying to test out an email event handler, but having some problems. I am getting the error message
Failed to send email titled "Mango test email" to "firstname.lastname@example.org". Message: "Authentication failed; nested exception is javax.mail.AuthenticationFailedException"
In the system settings I am using my gmail account settings: host=smtp.gmail.com, port=587, use authorization, username=[myemail]@gmail.com, password=[mypassword], enable TLS. These settings are what the google documentation says for using SMTP from any email client program.
So far I have been unable to get this working. As long as I am able to send emails I would be willing to use any server (Any free SMTP servers out there?).
Try just your username, without the "@gmail.com".
Nope still nothing. Is gmail known to work?
Yes. I have an instance using it as we speak (type).
Anything interesting in the logs?
Figured it out. Just typed my password in wrong haha. Thanks for the help.
I´m trying to configure the email settings, but I got the same error:
Failed to send email titled "Mango test email" to "[mymail]@gmail.com". Message: "Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587; nested exception is: java.net.ConnectException: Connection refused: connect"
Any suggestion? thanks in advance