I'm trying to send an email on a server that does not support secure connections, and fails.
By looking at the source code at taskt/Core/Automation/Commands/SMTPSendEmailCommand.cs I notice that EnableSsl flag is always true,
var client = new SmtpClient(varSMTPHost, int.Parse(varSMTPPort)) { Credentials = new System.Net.NetworkCredential(varSMTPUserName, varSMTPPassword), EnableSsl = true };
I think that this should be overridable (may using the SSL Validation option)
This is an extract of the error logs,
2020-08-06 09:51:51.101 -05:00 [INF] Result Code: Error
2020-08-06 09:51:51.101 -05:00 [INF] Error: System.Net.Mail.SmtpException: Server does not support secure connections.
at taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteCommand(ScriptAction command)
at taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteScript(String data, Boolean dataIsFile)
Hello
I'm trying to send an email on a server that does not support secure connections, and fails. By looking at the source code at taskt/Core/Automation/Commands/SMTPSendEmailCommand.cs I notice that EnableSsl flag is always true,
var client = new SmtpClient(varSMTPHost, int.Parse(varSMTPPort)) { Credentials = new System.Net.NetworkCredential(varSMTPUserName, varSMTPPassword), EnableSsl = true };
I think that this should be overridable (may using the SSL Validation option)
This is an extract of the error logs,
2020-08-06 09:51:51.101 -05:00 [INF] Result Code: Error 2020-08-06 09:51:51.101 -05:00 [INF] Error: System.Net.Mail.SmtpException: Server does not support secure connections. at taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteCommand(ScriptAction command) at taskt.Core.Automation.Engine.AutomationEngineInstance.ExecuteScript(String data, Boolean dataIsFile)