# Oscat - SMTP\_CLIENT - Can't get to work

**URL:** <https://oscat.discourse.group/t/oscat-smtp-client-cant-get-to-work/2324>\
**Category:** oscat.lib fuer CoDeSys 3\
**Created:** [10. Dezember 2018 um 06:47 UTC](https://oscat.discourse.group/t/oscat-smtp-client-cant-get-to-work/2324 "2018-12-10T06:47:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coconut](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@Coconut](https://oscat.discourse.group/u/Coconut)\
**Post date:** [10. Dezember 2018 um 06:47 UTC](https://oscat.discourse.group/t/oscat-smtp-client-cant-get-to-work/2324/1 "2018-12-10T06:47:04Z")

</div>

Hello,  
I’am trying looong time to get working function block - SMTP\_CLIENT (send email).

Indralogic 12V12 - Bosch Rexroth L10.

I have running Mail server (Argosoft) and Iam able to connection to it from different machines via telnet or SMTP client and “send” email that’s everything good.

But I’am not able send email with PLC. I successfully connect to SMTP server but, It dont go over “EHLO” command It just stays here and error is set with timeout - FF.

Please please what Iam doing wrong ? Whats means .step = 30 ? What to do to step to another step?

I trying to make it work over whole day.

SMTP server : 192.168.10.7:25  
PLC address : 192.168.10.45  
Using plain authorization (Only IP of SMTP server is set)  
Using DNS - Google - 8.8.8.8 - DWORD - 134744072

IP\_C - ERROR - 16#FF000000 - Timeout I know. But it doesnt make sense for me. Why PLC don’t continue and let itself kick by server for timeout.

codesys\_network\_121\_hf1.lib  
I dont have specified server certificate.

Please I want to make mainterance email of machine in factory.  
Thanks for help.

[gelöscht durch Administrator]

---

<div class="post-metadata">

**Author:** ![Ohaiyo](https://avatars.discourse-cdn.com/v4/letter/o/db5fbb/32.png) [@Ohaiyo](https://oscat.discourse.group/u/Ohaiyo)\
**Post date:** [11. Dezember 2018 um 03:17 UTC](https://oscat.discourse.group/t/oscat-smtp-client-cant-get-to-work/2324/2 "2018-12-11T03:17:44Z")

</div>

We accept all this information as a good knowledge for us.

---

<div class="post-metadata">

**Author:** ![Coconut](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@Coconut](https://oscat.discourse.group/u/Coconut)\
**Post date:** [11. Dezember 2018 um 11:11 UTC](https://oscat.discourse.group/t/oscat-smtp-client-cant-get-to-work/2324/3 "2018-12-11T11:11:48Z")

</div>

> [@Ohaiyo post:2](#):
>
> We accept all this information as a good knowledge for us.

Well, I try to find some contact on developers of library and ask directly them.

I not able to make it working without any help because everything seems be fine on PLC side…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/oscat/original/1X/2efdfb9c592ff9a666c94dff124ee84fa863dae5.jpeg) [@system](https://oscat.discourse.group/u/system)\
**Post date:** [18. Januar 2019 um 06:56 UTC](https://oscat.discourse.group/t/oscat-smtp-client-cant-get-to-work/2324/4 "2019-01-18T06:56:48Z")

</div>

These contents are considered to be what we are looking for so much to help us with these things.
