OSCAT Forum

network.lib => Codesys 2 => Thema gestartet von: moumie am 29. September 2015, 11:57:58

Titel: SMTP_CLIENT_DEMO with gmail error
Beitrag von: moumie am 29. September 2015, 11:57:58
Hi !

I want to send email with the smtp_client_demo using a free public mail like gmail.
I have successfully compiled and run the demo code, but unfortunately I cannot receive the email
in my account.
I am getting the errors:

SMTP_ERROR_T = 1
SMTP_ERROR_C = 16711680

According to oscat documentation:
 -  Problem: DNS_CLIENT --> Format error: The name server was unable to interpret the query.

I don't understand it clearly.
I have attached a screenshoot of my program running.

Thanks for any help or hints.

[gelöscht durch Administrator]
Titel: Re: SMTP_CLIENT_DEMO with gmail error
Beitrag von: peewit am 30. September 2015, 10:53:58
your plc-type is ?

have you set a gateway address in the PLC
Titel: Re: SMTP_CLIENT_DEMO with gmail error
Beitrag von: moumie am 30. September 2015, 12:19:38
your plc-type is ?

have you set a gateway address in the PLC


Hi Peewit !

I am using a Bachmann PLC.I have set the gateway address in the PLC.
Titel: Re: SMTP_CLIENT_DEMO with gmail error
Beitrag von: ndutrastocktn am 20. Juli 2017, 20:29:23
Have you gotten this resolved, I have the same issue.