couchbase email-alert setup using smtp.gmail.com - smtp

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.

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

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

Related

Odoo12: Setup SMPT Server with Sendinblue in Odoo. What I missed here?

I am trying to setup Sendinblue and use it as an SMTP server for my marketing and general Odoo 12 email messaging.
I setup every thing in Sendinblue and tested the SMTP Server in Odoo and got a "sucess" message under Settings / Technical / Outgoing Mail Servers.
For this I setup an external smpt server with the following data:
SMTP Server: smtp-relay.sendinblue.com
Email: my sendinblue email
Password: Password provided by sendinblue
Port: 587
Security: TLS (STARTTLS)
I can test the connection with success and set this SMTP Server as the server for sending email campaigns from Email Marketing / Settings / General Settings
Created a test email campaign and tried to send it and test it with no luck.
When Odoo tries to send the message, returns a "not delivered email" message with a unique reference and my local PC name, something like:
989345297097442.1625436965.401543280300903-openerp-reply_to#MYPC-NAME
I confirm sender email is registered and validated in Sendinblue. Using the same email as sender in Odoo.
Tried to do the same with my personal gmail account but even activating less secure apps, no message is sent from my instance.
What could be wrong?
I found the problem.
I had to verify the domain name I use for sending emails from Sendinblue service.
I have done it Senders & API main menu option on "domain" tab.
After verifying my domain name, everything is running fine

Unable to send an email using PHPmailer in Drupal 7

My website https://www.smcin.com/ created in drupal 7 and hosted in google cloud console. I am using PHPmailer smtp module to send email through website using port 25. But not mail has been triggered and give error
"test e-mail has NOT been sent to xxxxxxxx#yahoo.com. You should check
the logs for error messages."
On logs only this message has been shown:
MESSAGE: Error sending e-mail (from xxxxxxxx#xxxxxxx.xxx to xxxxxxxx#yahoo.com).
SEVERITY: error.
I also tried other ports (80, 465, 2525 ) and server (gmail, my official webmail) but nothing work.
I wasted lots of time but no solution found.
Your question is unclear as to which Google Cloud Platform service you are using.
Assuming that you're using Compute Engine, please see Sending email from an instance.
NB "Port 25 is always blocked and can't be used"
You should be able to configure it to use e.g. 465.
You may continue to have challenges in showing a good reputation for your instances' IP addresses.

OpenCart emails not sending

My OpenCart website uses SendGrid as its email sending system. This all worked correctly up until recently. When using functions which require sending an email to the admin (eg. new order alert emails, creating a new account), I've been getting this error:
Notice: Error: Password not accepted from server! in .../system/library/mail.php on line 251
In OpenCart Settings > Mail, my settings are as follows:
Mail Protocol: SMTP
SMTP Host: smtp.sendgrid.net
SMTP Username: <username>
SMTP Password: <pass>
SMTP Port: 25
SMTP Timeout: 5
This is according to SendGrid's documentation: https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/smtp_ports.html
Can anyone advise? These settings work on my localhost. I contacted the host to see if they blocked the SMTP port, but they replied that they don't have the ability to block the port since the SMTP host is not their website, but instead SendGrid.
This is not a port problem. I had the same issue: the SendGrid documentation is wrong. Documentation screenshot reports SendGrid username, but you have to use 'apikey'. I suggest to use port 587.

Jira dont work with mailgun.org

I have an issue with Mailgun.org in combination with our selfhosted Jira.
I want to add it as SMTP Outgoing, but he said Username/Password Error. Yeah , I triple checked the Username/Password combination.
In Confluence, Bamboo, Stash work the same Configuration fine.
The atlassian-jira.log just said:
2014-01-24 11:49:32,219 http-bio-8080-exec-22 ERROR xx 709x65334x1 hub9zg xx,127.0.0.1 /secure/admin/VerifySmtpServerConnection!update.jspa [plugins.mail.webwork.VerifyMailServer] Unable to authenticate to smtp.mailgun.org
Without TLS, the same.
If I try a Gmail Account, its works fine.
Any ideas?
I had the same issue and spoke to Jira support. It turns out the 'Test Connection' button was returning that it had failed with Unable to authenticate to smtp.mailgun.org message.
However if you actually add the Mailgun details as a smtp server it works correctly.
You can verify by sending a test email afterwards.
They have added a bug report for this issue.
https://jira.atlassian.com/browse/JRA-41342
Here is what worked for me. Very confusing since I receive an error message if I set it up any other way.
Protocol: SMTP (do not use secure smtp option)
Host Name: smtp.mailgun.org
SMTP Port: 587
Timeout: 10000
TLS: Enabled (checked)
Username/Password: Your mailgun postmaster username and password

Need help setup windows server 2008 SMTP server

I am trying to setup windows server 2008 smtp server to relay emails to gmail smtp. Everything appears to be setup but it is not sending emails. Could you please help me figure out whats wrong.
Below is the setup:
Windows server 2008 with SMTP server
feature installed. Need SMTP server
to forward all messages to gmail smtp
server to send.
I have google apps setup for my
domain, also I can send emails
throught my test app using
gmail smtp.
SMTP Server Configuration: By default has default smtp server virtual directory.
In Properties of that virtual smtp server changed following.
Fully qualified domain name = mydomain.com
smart host = smtp.gmail.com
TCP Port = 587
Out Bound Security = Basic Authentication(my username password for google apps email account)
In domains list under virtual smtp server. I have one default domain that's server dns. I added another one for my domain name.
With above setup i am trying to redirect all email to gmail smtp.
I tested connection to smtp.gmail.com from server on port 587 through telnet and it works.
I am trying to use above server from my web application also by just dropping emails in pickup directory. It get's picked up and also accepts request form web application but never sends an email.
I can see that it adds those emails in queue folder but it stays there forever.
When i try to send emails from web app to above server it rejects if To address is other than my domain.(Am i missing something in list of domains)
Thanks for all answers, finally found solution there is a property for maximum sessions which value was 0 by default. Changed it to 100 and it send all pending emails immediately.
Possible reasons are that some SMTP servers block the outgoing messages if there domain name mismatch, possible to prevent spam mails from being sent. So for example, I will not be able to send my email with an address abc#mydomain.com from my domain yourdomain.com.
Hope that helps.
Ensure your sending domain is the same as the google apps domain
Ensure your sending address is a real address and not just an alias
IIRC you need to use STARTTLS (SSL) not basic authentication
This souds like a DNS issue. Check your /badmail directory. It will have .bad and .bdp files in there. You can open these in notepad (there will be some binary in there).
However, it may point to the possible problem.
You may also want to try and enable logging on the SMTP service. There may be something in there.