Hello,
I am trying to send an Email with Control, trough the following function: https://www.winccoa.com/documentation/W ... dMail.html
But I get the following Error:
WCCOAui (1), 2022.07.14 14:42:16.799, PARAM,SEVERE, 54, Unexpected state, Jul 14 14:42:16 md2krt8c sendEmail.exe[21664]: ERROR => TLS setup failed: SSL connect attempt failed with unknown errorerror:00000000:lib(0):func(0):reason(0)
How exactly do I make the SSL connection?
Thanks a lot
Win CC control sendMail() SSL error
Search
Re: Win CC control sendMail() SSL error
Hello,
I use this : https://github.com/zehm/sendEmail
for years now without problems. Works like a charm.
I call it like this:
Best regards
Edit: Ok, I see now you need SSL. I don't use it, emails are used internal only.
I use this : https://github.com/zehm/sendEmail
for years now without problems. Works like a charm.
I call it like this:
Code: Select all
system("perl " + getPath(BIN_REL_PATH) + "sendEmail.pl -f "+ server + "@test.com -t " + sAdressen + "-s smtp.service.test.com -o tls=no -o message-charset=utf-8 -u \"Test Email "+ server + "\" -m \"This is a Test-Email from WinCC-OA-Server "+server+"\" &");
Edit: Ok, I see now you need SSL. I don't use it, emails are used internal only.
Re: Win CC control sendMail() SSL error
What patch are you using, I think you might consider an update? They fixed their sendmail executable (which is based on the sendMail perl script) to support newer SSL/TLS versions. (we had the same problem).