Send Email config

Hi, 

 

I am currently working in a project, where i need send a email when the workflow finished. My question is ,  how to configure this node for send a email in gmail and outlook. that i put in: SMTP Host, SMTP Port, From , SMTP host needs authentication , connection security. And how to avoid the error:

Execute failed: javax.mail.MessagingException: Exception reading response;
  nested exception is:
    java.net.SocketException: Connection reset

Thanks for the answer.

This looks like the E-Mail server rejected the connection. Please double-check that you entered the correct values and that there isn't a firewall/proxy/virus scanner blocking the connection.