Error sending email

the difference to Email configurations is that we have set EMAIL_SECURE=false.

As this is a local smtp server which only listens on localhost, port 465 and 587 are not enabled. It listens only on port 25.

Regarding Email parameters and templates configuration - Tiledesk Developer Hub this should be fine:

EMAIL_SECURE =true #defaults to 587 if is secure is false or 465 if true If true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false.

EMAIL_PORT =25 Is the port to connect to (defaults to 587 if is secure is false or 465 if true)

BTW: I enabled port 465 and set EMAIL_SECURE=true but no mail could be sent too.