I can not work with Send Email node and using my gmail account. I have defined a 16 character password for applications and I write it in the node password, but it doesn’t work. The node works well using a web service where I have an email account that does not require authentication , but I can’t configure it with a gmail mail address. Does anyone know how it works with a password application and using Knime 5.3.3?
Hi,
I am currently working with the Send Email node and a Gmail account. Here’s what I did to make it work:
- Activate 2-factor authentication in Gmail preferences.
- Create an app-specific password.
Configure the node as follows:
- Host: smtp.gmail.com
- SMTP Port: 465
- Activate: SMTP host requires authentication.
- Username: Your Gmail account.
- Password: App-specific password.
- Connection security: SSL
Hi and thank you very much Stephane
However I configured a 2-factor authentication in Gmail preferences and I configured the node in the way you indicated, but I get this error message:
ERROR Send Email 4:1 Execute failed: This error occurred while communicating with the SMTP server: “javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”.
Hi @fmc00006 this is a certificate issue. You probably need to accept the certificate “manually” first (for example via a browser).
There are a few discussions about this on the forum as this comes up quite often.
You can also check this video for more info: https://www.youtube.com/watch?v=FYD17GbNZsk
Thank you, Stephane and Bruno. This is exactly the error I get. I’am going to try to fix it with the indications of the video you mentioned!!! Thanks!!
I finally solved this issue. It was a problem concerning my antivirus software which denied sending the email. I configured it saying that send the gmail was admitted from the anti virus software
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.