@ CBMOD
Danke für die Hilfe,
Habe es auch so gemacht:
Wie schaffe ich es das ein Bild mitgesendet wird?
Einfach den 4.Parameter auf True setzen im mailto:<address>,<subject>,<text>,TRUE
Funktioniert aber nur bei gestoppten mjpeg streamer, oder mit der angepassten mailto.py auf Seite 87
und falls du suchst... das Bild liegt unter /tmp
[EVENT_OnKeyDown_onboardpins.3]
10 = mailto:rx@doorpi.de,Klingeltaste 1,schaumal,True
Aber ich erhalt keine Email mehr,
ohne True, also ohne Bild schon.
Fehlermeldung:
2016-01-14 18:46:36,183 [ERROR] [doorpi.action.SingleActions.mailto] couldn't send email
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/http://DoorPi-2.4.1.6-py2.7.egg/doorpi/action/SingleActions/mailto.py", line 50, in fire_action_mail
file = createSnapshot()
File "/usr/local/lib/python2.7/dist-packages/http://DoorPi-2.4.1.6-py2.7.egg/doorpi/action/SingleActions/mailto.py", line 72, in createSnapshot
retcode = subprocess.call(command, shell=True)
NameError: global name 'subprocess' is not defined
Wer kann mir dabei helfen?