email dispatch does not work if a mail server is configured in the adapter config without specifying user and password.
On the same host, sending e-mails via shell and mailutils works with the same settings without user and password.
config (anonymized):
transport: smtp
service: User defined
host: smtp.relay.local
port: 25
user: empty
password: empty
Test button (Instance settings: email):
Error Missing credentials for "LOGIN"
iobroker Log (anonymized):
error: email.0 (32848) Error undefined
States system redis pmessage io.messagebox.system.adapter.email.0/io.messagebox.system.adapter.email.0:{"command":"send","message":{"subject":"ioBroker","to":"user@local","from":"iobhost@local","text":"Das ist eine Test-Email!","options":{"host":"smtp.relay.local","port":"25","secure":false,"requireTLS":false,"auth":{"user":"","pass":""},"service":""}},"from":"system.adapter.admin.0","callback":{"message":{"subject":"ioBroker","to":"user@local","from":"iobhost@local","text":"Das ist eine Test-Email!","options":{"host":"smtp.relay.local","port":"25","secure":false,"requireTLS":false,"auth":{"user":"","pass":""},"service":""}},"id":63,"ack":false,"time":1677758212402},"_id":17612211}
email dispatch does not work if a mail server is configured in the adapter config without specifying user and password.
On the same host, sending e-mails via shell and mailutils works with the same settings without user and password.
config (anonymized):
Test button (Instance settings: email):
Error Missing credentials for "LOGIN"
iobroker Log (anonymized):
error: email.0 (32848) Error undefined
States system redis pmessage io.messagebox.system.adapter.email.0/io.messagebox.system.adapter.email.0:{"command":"send","message":{"subject":"ioBroker","to":"user@local","from":"iobhost@local","text":"Das ist eine Test-Email!","options":{"host":"smtp.relay.local","port":"25","secure":false,"requireTLS":false,"auth":{"user":"","pass":""},"service":""}},"from":"system.adapter.admin.0","callback":{"message":{"subject":"ioBroker","to":"user@local","from":"iobhost@local","text":"Das ist eine Test-Email!","options":{"host":"smtp.relay.local","port":"25","secure":false,"requireTLS":false,"auth":{"user":"","pass":""},"service":""}},"id":63,"ack":false,"time":1677758212402},"_id":17612211}