Autor Thema: SMTP_CLIENT_DEMO with gmail error  (Gelesen 6801 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline moumie

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
SMTP_CLIENT_DEMO with gmail error
« 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]

Offline peewit

  • Moderator
  • *****
  • Beiträge: 2 378
    • Profil anzeigen
Re: SMTP_CLIENT_DEMO with gmail error
« Antwort #1 am: 30. September 2015, 10:53:58 »
your plc-type is ?

have you set a gateway address in the PLC
« Letzte Änderung: 30. September 2015, 10:56:08 von peewit »

Offline moumie

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re: SMTP_CLIENT_DEMO with gmail error
« Antwort #2 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.
« Letzte Änderung: 01. Oktober 2015, 08:29:19 von moumie »

Offline ndutrastocktn

  • Newbie
  • *
  • Beiträge: 1
    • Profil anzeigen
    • E-Mail
Re: SMTP_CLIENT_DEMO with gmail error
« Antwort #3 am: 20. Juli 2017, 20:29:23 »
Have you gotten this resolved, I have the same issue.