iobroker-community-adapters / ioBroker.email

Send emails from ioBroker
MIT License
20 stars 8 forks source link

local network - smtp relay host anonymous access - Error undefined #202

Open TeNNo2k5 opened 1 year ago

TeNNo2k5 commented 1 year ago

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}

mcm1957 commented 1 year ago

Should be investigated