Cant send mail using oscat network smtp

Begonnen von Ronnor1574, 04. Januar 2023, 16:10:51

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 3 Gäste betrachten dieses Thema.

Ronnor1574

Hi, I'm trying to send an email using oscat smtp client, on codesys v3.5 sp18 patch 4 - 32 bit, running on berghoff controller.
I'm pretty new to codesys, so I followed the example and change the email password and user, as well as the smtp server (gmail) and dns.
first question - how do I read the error code? I'm getting error T = 5, and error C = 2621690 , and I cant figure how to understand what the error is.
Second - I set up the dns to be 8.8.8.8 (through oscat DWORD_OF_BYTE), is that OK?
as far as I can see, the step value I get is 40 (there is somthing fast happening right when the error is recieved).
any chance someone can help me here?

thanks

peewit

gmail terminates communication with your sps.
you can only use the gmail smtp server with SSL (encryption).

but the oscat lib can not do that with your sps.

you have to look for a smtp server without encryption, but there are very few of them!