I just upgrade our KNIME Server to 4.12.0. I would like to schedule a job to run and email the result pdf to the stake holder. The workflow runs at the schedule time but email is not been sent out.
I tried to mess with knime.xml file but with no luck. I tried to using send email node in one of my workflow to test if the credential and my smtp.gmail works and to my surprise it does work.
In the log file it does say it is attempting but it does not say that it was successful was able to send out the email with attachment.
18-Jan-2021 14:55:26.502 INFO [KNIME-JobNotification-1] com.knime.enterprise.server.jobs.NotificationSenderImpl.sendMails Sending notification mail for
please have a look at the Upgrade Guide for 4.12.0 here
The configuration option was moved from the knime.xml file to the knime-server.config. In addition it is now possible to configure this via UI on the new webportal → Administration → Configuration → General.
Please scroll a little bit further down or search for smtp within the page. Then you should be able to configure mail.smtp.user, mail.smtp.from, mail.smtp.host and mail.smtp.port.
The knime-server.config is located at /workflow_repository/config, on cloud (AWS, Azure) instances in /srv/knime_server/config. If you already had a working configuration you can use all the options, just use for each option a single line.
Could you please try to set
mail.smtp.starttls.enable=true
mail.smtp.ssl.enable=false
as port 587 is used for StartTLS.
Regarding this Google smtp guide your mentioned configuration should be valid also if you change the mail.smtp.port to 465.
There is also a limit of 2000 mails per day mentioned as well as an alternative way. If you are using gmail with two factor authentification for the used account you have to create an app specific password for the KNIME Server first, this is also linked in the article above.