Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notification email ne marche qu'en ligne de commande
#7
Plus d'erreur dans le log mais je ne recois toujours pas d'email.

Code:
Jan 05 18:37:23 raspberrypi calaos_server[204]: INF<204>:calaos_rule Rule.cpp:90 bool Calaos::Rule::ExecuteActions()() Rule(Salon,SAL-L1 Email test): Starting execution (1 actions)
Jan 05 18:37:23 raspberrypi calaos_server[204]: INF<204>:calaos_server Rules/ActionMail.cpp:145 void Calaos::ActionMail::sendMail()() Executing command : /usr/bin/calaos_mail --delete --from "xxx@gmail.com" --to "xxx@gmail.com" --subject "Test" --body /tmp/calaos_mail_body_0
Jan 05 18:37:23 raspberrypi calaos_server[204]: INF<204>:calaos_rule.action.mail Rules/ActionMail.cpp:101 virtual bool Calaos::ActionMail::Execute()() Ok, mail is in queue
Jan 05 18:37:23 raspberrypi calaos_server[204]: INF<204>:calaos_rule Rule.cpp:99 bool Calaos::Rule::ExecuteActions()() Rule(Salon,SAL-L1 Email test): Execution done.

Par contre je recois l'email quand j'execute la commande directement dans le shell :
Code:
# /usr/bin/calaos_mail --delete --from "xxx@gmail.com" --to "xxx@gmail.com" --subject "Test" --body /tmp/calaos_mail_body_0

Quelle est la difference quand calaos-server execute la commande et quand j'execute moi-meme la commande ?
  calaos-os-raspberrypi2-v3.0-alpha6-14-g341535a-2021-01-17 on Raspberry Pi 2 ▶ Wago_2.2/wago_881.pro on Wago 750-881 ▶ DS18B20 sensors on Pi GPIO ▶ Node-RED









Reply


Messages In This Thread
RE: Notification email ne marche qu'en ligne de commande - by mifrey - 01-05-2016, 07:43 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)