-
I think I may have stumbled across an issue though I thought I would start it as a discussion first. I currently use PowerDNN/Managed.com SMTP Relay service for sending messages. Installed HotCakesModule and noticed an error when it was sending emails. Worked with Will Strohl on it and I think may have found an issue. HotcakesCommerce/hotcakes-commerce-core#453 I'm not convinced that the "Enable SMTP SSL" is actually working properly or at least enforcing SSL. Managed.com confirmed their SMTP relay doesn't support SSL, but with this option checked I can still send mail without issue. Does DNN try SSL first then fallback to non SSL if it fails? The only module that is having an issue is HCC. All of the other DNN emails work regardless if this option is toggled on/off. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The MailKit provider does not do anything with the Enable SMTP SSL configuration option. Instead, it uses an "auto" setting within MailKit, which detects the correct mode based on the port. I believe we needed to do this to support STARTTLS automatically (at least, without then also exposing other configuration that the older mail provider couldn't support). |
Beta Was this translation helpful? Give feedback.
The MailKit provider does not do anything with the Enable SMTP SSL configuration option. Instead, it uses an "auto" setting within MailKit, which detects the correct mode based on the port. I believe we needed to do this to support STARTTLS automatically (at least, without then also exposing other configuration that the older mail provider couldn't support).
Dnn.Platform/DNN Platform/Library/Services/Mail/MailKitMailProvider.cs
Line 43 in 90e6ac4