@koffienl said:
Thanks!
Can you give some info on how to install? I did a git clone in my ~/pimatic-app/node_modules/ directory,
After editting the config and restarting, I get this error:
error [pimatic]: Cannot find module ‘nodemailer’
After downloading the 0.7.1 version into ~/pimatic-app/node_modules/pimatic-mail/node_modules/nodemailer I get the error
error [pimatic]: Cannot find module ‘simplesmtp’
Any tips on how to install the correct version ?
Did you do a ‘npm install’ in the nodemailer directory, after the clone?
I did a test for you:
sudo service pimatic stop
cd /home/pi/pimatic-app/node_modules/
sudo rm -rf pimatic-mail
git clone https://github.com/mwittig/pimatic-mail.git
cd pimatic-mail/
npm install
sudo service pimatic start
I didn’t test the HTML and file option yet (thanks for adding that @mwittig), but sending emails worked after that.