Hallo Forum,
was muss ich einstellen, damit die E-Mails versendet werden (gmail Konto)?
Müssen die Strings in der openhab.cfg Datei in Anführungszeichen gestellt werden?
Der Teil der Rule welche die E-Mail versendet, sieht wie folgt aus:
PS: Wie funktioniert der Prowl Diesnt genau bzw. was benötige ich damit ich eine Push-Notifikation auf meinem IPhone erhalte?
Gruß
mepi0011
was muss ich einstellen, damit die E-Mails versendet werden (gmail Konto)?
Müssen die Strings in der openhab.cfg Datei in Anführungszeichen gestellt werden?
Code:
# The SMTP server hostname, e.g. "smtp.gmail.com" mail:hostname="smtp.gmail.com" # the SMTP port to use (optional, defaults to 25 (resp. 587 for TLS)) mail:port=587 # the username and password if the SMTP server requires authentication mail:username="user@gmail.com" #mail:password="xyz" # The email address to use for sending mails mail:from="openhab-server" # set to "true", if TLS should be used for the connection # (optional, defaults to false) mail:tls=true # set to "true", if POP before SMTP (another authentication mechanism) # should be enabled. Username and Password are taken from the above # configuration (optional, default to false) #mail:popbeforesmtp=
Code:
sendMail("mepi@xxxxx.de", "Alarm", "Alarm hat ausgelöst!!!!")
Gruß
mepi0011
Kommentar