Closed ionous closed 8 months ago
when node starts, this uses "nodemailer.verify transport" to test / log the state of smtp connection at startup. i've verified with the old docker that given correct and incorrect ethereal email settings, decent notification will be provided.
ex. with a bad settings, at startup:
failed smtp verification: Error: getaddrinfo ENOTFOUND xxxxsmtp.ethereal.email
when sending, the client gets an http 500 with Server error saving event! and the server logs:
Server error saving event!
sending confirmation for http://localhost:3080/addevent/edit-15-ea09520cdedd4d37ad2736f5d2b1b83e Error: getaddrinfo ENOTFOUND xxxxsmtp.ethereal.email at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26)
with good settings, at startup:
okay: verified email host smtp.ethereal.email
and when sending:
sending confirmation for https://localhost:4443/addevent/edit-1-8c6680b9679e44499169abee0049b81e Sent email Fri, 22 Mar 2024 22:14:49 GMT: [ "Tester", "somebody@somewhere.email", "Test Event", "https://localhost:4443/addevent/edit-1-8c6680b9679e44499169abee0049b81e" ]
when node starts, this uses "nodemailer.verify transport" to test / log the state of smtp connection at startup. i've verified with the old docker that given correct and incorrect ethereal email settings, decent notification will be provided.
ex. with a bad settings, at startup:
when sending, the client gets an http 500 with
Server error saving event!
and the server logs:with good settings, at startup:
and when sending: