Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Problems with Email Event Handler


  • 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!!


  • 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.


  • 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