Search code examples
kaa

fail to send out email by kaa admin


I clone kaa source code from git, and succeed built and run it on my ubuntu 14.04. and then I also succeed to create kaa admin.

and then I set my outgoing email settings as this

  • SMTP Protocol: smtps
  • SMTP Host: smtp.gmail.com
  • SMTP Port: 465
  • Username: myemailaddress@gmail.com
  • Password: mypassword

and then I went to create a tenant, then add a user:

  • Username: admin
  • Email: myanotheremail@xxx.com
  • Account role: Tenane Administrator

but I fail to sent out the email to the tenant user from kaa server (or I did not receive the mail from kaa admin)

I also change the log level to TRACE and restart service, but there seems no error or trace information about this scenario in it.

would someone please help guide me what to do to make it work?

Many thanks Vincent


Solution

  • Your outgoing email settings looks correct. Looks like for Google accounts, you need to allow less secure apps to access accounts. Follow the official guide to do this.