Calaos, Home Automation Forum
Notification - Printable Version

+- Calaos, Home Automation Forum (https://calaos.fr/forum)
+-- Forum: Utilisation - Installation - Configuration (https://calaos.fr/forum/forumdisplay.php?fid=4)
+--- Forum: Calaos Installer (https://calaos.fr/forum/forumdisplay.php?fid=6)
+--- Thread: Notification (/showthread.php?tid=60)

Pages: 1 2 3 4 5 6 7


RE: Notification - raoulh - 06-17-2014

Ok.
Apparement il arrive pas a lire ta config, parce qu'il prend pas le smtp.free.fr
Tu es sur de ta config? Tu peux nous montrer la totalité du fichier local_config.xml?


RE: Notification - tony - 06-17-2014

Quel boulet...j'avais une seule ligne plus haut (d'origine) qui définissait déjà le smtp.....

désolé et merci, ça fonctionne !
Je reçois maintenant la photo de la personne qui sonne à la porte :-)


RE: Notification - raoulh - 06-18-2014

Je me doutais d'un probleme comme celui la Wink
Super!


RE: Notification - tom - 10-13-2014

Hello,

Je rencontre un nouveau probleme avec mes mails

Oct 13 22:25:26 (none) user.err calaosd: ERROR : SendMail: an exception occured: Authentication error.

Auriez vous une solution pour moi ?

Voici ma config :

smtp_auth: true
smtp_password: XXX
smtp_port: 587
smtp_server: smtp://smtp.gmail.com
smtp_tls: true
smtp_username: XXX@gmail.com


RE: Notification - raoulh - 10-14-2014

Essaye de te mettre en ssh sur la machine et fait ca et donne le resultat:

Code:
calaos_mail --from ton_email@example.com --to ton_email@example.com --subject test --body test --versbose

Je viens de tester ca fonctionne chez moi l'envoi de mail par gmail.


RE: Notification - tom - 10-14-2014

voici la réponse

-sh: calaos_mail: not found


RE: Notification - raoulh - 10-14-2014

Heuu... tu as quelle version de calaos?


RE: Notification - tom - 10-14-2014

Toujours la V1


RE: Notification - raoulh - 10-15-2014

Ah bah alors les mails ne marchent plus sur la v1 vers gmail et free. Ils ont fais des changement sur leur serveur et ca empeche la lib de mail de fonctionner.
Faudra passer en v2 pour avoir les mails de nouveau...


RE: Notification - Eric64 - 10-15-2014

J'ai réussi a paramétrer mon mail comme décrit dans ce post.
En faisant le test je reçois bien un mail. Big Grin

Par contre, comment je mets une condition pour envoyer un mail et choisir le texte à afficher dans le mail ?
Faut il utiliser pushing box comme décrit dans le wiki ?