[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problems with Email Event Handler  XML
Forum Index » User help
Author Message
rcopeland

Initiate

Joined: 29/10/2010 15:55:33
Messages: 46
Offline

Hello all,

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 "rcopeland@gmail.com". 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?).

Hints? Suggestions?

Thanks!!
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Try just your username, without the "@gmail.com".

Best regards,
Matthew Lohbihler
rcopeland

Initiate

Joined: 29/10/2010 15:55:33
Messages: 46
Offline

Nope still nothing. Is gmail known to work?
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Yes. I have an instance using it as we speak (type).

Best regards,
Matthew Lohbihler
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Anything interesting in the logs?

Best regards,
Matthew Lohbihler
rcopeland

Initiate

Joined: 29/10/2010 15:55:33
Messages: 46
Offline

Figured it out. Just typed my password in wrong haha. Thanks for the help.
lordportux

Initiate

Joined: 25/07/2010 13:03:23
Messages: 14
Location: Venezuela
Offline

Hello

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"


host: smtp.gmail.com
port: 587
user autorization
username=myemail
password=mypassword
enable TLS

Any suggestion? thanks in advance
 
Forum Index » User help
Go to:   
Powered by JForum 2.1.9 © JForum Team