Closed hyamanieu closed 1 year ago
Hi,
Can you try the following settings please:
email:
enabled: true
debug: true
smtp:
host: smtp.office365.com,
secure: false
tls:
ciphers: "SSLv3",
rejectUnauthorized: false
auth:
user: <username>
pass: <password>
But it also appears that Microsoft may be planning to disable SMTP access for Office365 so if those options don't work then we may need to look at supporting the new nodemailer transport (https://github.com/nodemailer/nodemailer/issues/1485)
And just a note the debug: true
in this case is a setting for FF to output email to the logs to allow testing without a configured email server, it does not change the debug status of the underlying nodemailer library. IIRC email.smtp.debug=true
would
I have no error! It seems to work. Thanks :) It must really be documented, I was expecting this here: https://flowfuse.com/docs/install/email_providers/
Or in an area where every option within the flowforge.yml file is described. Perhaps I've missed it?
I've opened a PR for the docs
Current Behavior
Setting up an email configuration using office 365 does not work.
Upon starting the forge container, this comes into the log:
Although my email configuration has debug set to True, I don't get much more info.
The issue comes from forge as other application used to send emails (including the Node-Red node to do so) work.
Is the issue that only SSL instead of TLS can be used? I don't have more clues.
Expected Behavior
We can set an email to most major professional email providers, including Microsoft.
Steps To Reproduce
flowforge.yml
Environment
cat /etc/os-release
docker version
Have you provided an initial effort estimate for this issue?
I am not a FlowForge team member