I have just upgraded from 2.4 to 2.5 on my very fresh OpenHAB installation, as I’m a newbie with respect to OpenHAB. I am trying to configure an SMTP server in the mail binding. If I try this via PaperUI, the security protocol parameter does not list any alternatives at all. Note that I am running this in a UI switched to German, so this may be something like a missing translation or similar.
Therefore I have tried to configure the SMTP server in a ‘thing’ configuration file just as given in the example of the binding documentation. In this case I get the following errors in openhab.log:
2019-12-17 09:38:41.418 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘mail.things’ has errors, therefore ignoring it: [1,7]: no viable alternative at input ‘smtp’
*[1,14]: no viable alternative at input ‘hostname’ *
*[1,46]: no viable alternative at input ‘sender’ *
*[1,85]: no viable alternative at input ‘security’ *
*[1,101]: no viable alternative at input ‘username’ *
*[1,142]: no viable alternative at input ‘password’ *
[1,162]: no viable alternative at input ‘port’
The configuration line is this (personal data replaced)
Thing smtp [ hostname=“mail.mnet-online.de”, sender=“my@email.address”, security=“TLS”, username=“my@email.address”, password=“xxxx” port=“587”]
What am I doing wrong?