CCU3 + Email-Addon 1.6.8c problem

Support for our english speaking visitors

Moderator: Co-Administratoren

Antworten
Maxxx
Beiträge: 4
Registriert: 28.01.2019, 20:32
Danksagung erhalten: 1 Mal

CCU3 + Email-Addon 1.6.8c problem

Beitrag von Maxxx » 28.01.2019, 20:39

Hi,

I recently buyed a CCU3 and installed the mail add-on.
The installation is completed and the test mail works fine.
But when I want to use it in a program the mail is not sent.
The script I used in the program is :
string stdout;
string stderr;
system.Exec ("/ etc / config / addons / email / email 01 ", & stdout, & stderr);

Can someone tell me what I do wrong ?

Kind regards.


Maxxx
Beiträge: 4
Registriert: 28.01.2019, 20:32
Danksagung erhalten: 1 Mal

Re: CCU3 + Email-Addon 1.6.8c problem

Beitrag von Maxxx » 28.01.2019, 22:23

Here are the print screens.
When I try to sent the testmail it works even without CUx Daemon.
To be sure I installed CUx Daemon but even then it doesn't work.
Dateianhänge
3.PNG
3.PNG (3.75 KiB) 2025 mal betrachtet
2.PNG
2.PNG (22.56 KiB) 2025 mal betrachtet
1.PNG
1.PNG (20.08 KiB) 2025 mal betrachtet

tomi_cc16
Beiträge: 1151
Registriert: 30.11.2013, 16:35
Wohnort: Mordor
Hat sich bedankt: 23 Mal
Danksagung erhalten: 56 Mal

Re: CCU3 + Email-Addon 1.6.8c problem

Beitrag von tomi_cc16 » 28.01.2019, 22:34

Maybe it's the spaces inbetween in your code look here:
E-Mail.JPG
Or in this video min: 4:47
https://youtu.be/WI3IoO4OHhI

Did you checked the Help docu in the Addon??

I think there is written, Instead using old coding:

string stdout;
string stderr;
system.Exec("/etc/config/addons/email/email ID", &stdout, &stderr);

It's better to use:
dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State("/etc/config/addons/email/email ID");

Maxxx
Beiträge: 4
Registriert: 28.01.2019, 20:32
Danksagung erhalten: 1 Mal

Re: CCU3 + Email-Addon 1.6.8c problem

Beitrag von Maxxx » 29.01.2019, 00:17

The spaces did the trick.
Now I can try to make a TCL script
Thx

Antworten

Zurück zu „HomeMatic - english“