Send Email Node error (in a loop + Wait... Node)

Hello, when using the Send Email Node in a loop + a Wait… Node I get the following error from the Send Email Node from time to time - sometimes it is working, looping 2-4 times, but then the error pops up before finishing the loop:

Execute failed: The mail could not be sent due to the error “javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketException: Connection reset”.

image

I already tried different settings for the Wait Node (5 -35 sec.) and different Connection Timeout & Read Timeout values, without success.

I hope you can help me!

Best Regards,
Christopher

Hi @ch_feil

Welcome to KNIME Forum. Is there a reason having the Wait-node inside the loop? Because in my experience there is no need to have Wait node, to sent out a batch of emails. I think it has something to do with the configuration of your email settings in the Send Email node.

gr. Hans

Hi @HansS

Thank you! I tried it without a Wait-node first getting the same error.
This is the current configuration of the Send Email node:

Greetings, Christopher

1 Like

Hi @ch_feil

Did you try different settings for the Connection Security e.g.: NONE ?

Hi @HansS

Unfortunately I cannot change the settings for Connection Security, because they are predefined by our IT.

Hi @ch_feil

The wait node is not the problem.

And if you can’t configure the Send Email node yourself, I think you need the help of your IT to fix the configuration of your Send Email node.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.