Autor Thema: Cant send mail using oscat network smtp  (Gelesen 3946 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline Ronnor1574

  • Newbie
  • *
  • Beiträge: 1
    • Profil anzeigen
Cant send mail using oscat network smtp
« 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 (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?


Offline peewit

  • Moderator
  • *****
  • Beiträge: 2 378
    • Profil anzeigen
Re: Cant send mail using oscat network smtp
« Antwort #1 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!