Hi dear KNIMErs,
I don’t understand why I can’t get Gmail to work with the Send Email Node.
I basically followed nearly every advice here on the forums setting up an App password for KNIME (because I have 2FA enables since years).
However, I always seem to have connection problems, anyone knows, why?
These are the error messages I receive:
ERROR Send Email 4:18 Execute failed: Error while communicating with the smtp server: javax.mail.MessagingException: Could not convert socket to TLS;
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
ERROR Send Email 4:18 Execute failed: Error 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
ERROR Send Email 4:18 Execute failed: Exception reading response, try adjusting the smtp timeout settings
ERROR Send Email 4:18 Execute failed: Couldn’t connect to host, port: smtp.gmail.com, 1025; timeout 2000, try adjusting the smtp timeout settings
ERROR Send Email 4:18 Execute failed: Error while communicating with the smtp server: com.sun.mail.smtp.SMTPSendFailedException: 530-5.7.0 Must issue a STARTTLS command first. Please visit
530-5.7.0 About SMTP error messages - Google Workspace Admin Help and review RFC 3207
530 5.7.0 specifications for more information. n13-20020a05600c500d00b004083996dad8sm5166182wmr.18 - gsmtp
I tried all kinds of combinations of ports and connection security, nothing works.
Thanks in advance.