OSCAT Forum

oscat.lib => oscat.lib fuer CoDeSys 3 => Thema gestartet von: Ronnor1574 am 04. Januar 2023, 16:10:51

Titel: Cant send mail using oscat network smtp
Beitrag von: Ronnor1574 am 04. Januar 2023, 16:10:51
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
Titel: Re: Cant send mail using oscat network smtp
Beitrag von: peewit am 11. Februar 2023, 17:39:48
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!