couchbase email-alert setup using smtp.gmail.com

689 Views Asked by At

Any one has succeeded setting up Email- Alerts from Couchbase admin for gmail account?

I am having membase cluster installed on EC2. I tried with port 465 or 587 or 25 no success.

The logs shown in UI is not very informative. Can somebody even point me out where to find the detailed log of this alert setup failure?

Thanks in Advance.

2

There are 2 best solutions below

0
On

The alerting system has been extended in Couchbase 2.0, leaving a link to the docs here for anyone who might find this question:

http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-web-console-settings-alerts.html

2
On

I too was having issues getting the email notifications working in Couchbase with a gmail account. Actually it was a Google Apps account, free edition.

After lots of head scratching the issue turned out to be related to two step authentication. The account I was trying to get it working with had two step authentication enabled.

I tried it with an account that didn't have it enabled and it worked first time.

The settings I used were:

  • Host: smtp.gmail.com
  • Port: 587
  • Username: Full GApps Email Address
  • Password: GApps Account Password
  • Use TLS: Checked
  • Sender email: Same as Username
  • Recipients: Any email address

Cheers, Lee