First, let me say incase anyone else is trying to figure this out. Some fine folks here suggested I use cloudflare to stop hot linking of images. And while it DID work a minor and major issue with using cloudflare and DNN. The minor is even if I put in a rule it still blocked my sites .ico file. A minor issue in the big picture but worth noting. The second, and larger issue is flare blocks the email sending function. And to open up email you need a paid account from what I was reading.
Lastly and the main issue I am posting all that aside is since I am using my own hosting/domain email service some larger email services like hotmail don't like it. So I was hoping to use a gmail account to send email through from DNN. The problem is Google has disabled that function itr seems.
https://support.google.co...smtp-gmail-com?hl=en
If you look at those directions "Under Security, scroll down and enable access for less secure apps" however since this was posted a couple yrs ago Google has retired that function. I keep getting the error: net_io_connectionclosed
Seems folks on outlook 365 were having the same issue and this was the apparent solution; https://community.dynamic..._io_connectionclosed
Which seems to boil down TLS 1.2+ needs to be enabled. If I am reading this correctly thats a code based fix to DNN than anything we can do, am I correct?
Honestly, I think there is more going on here, because I haven't once had to go through all of these challenges when integrating and configuring CloudFlare. :(
Blocking hot-linking images has nothing to do with SMTP. Setting one shouldn't have any impact on the other.
The only thing that SMTP and CloudFlare have that's related would be anything security-related, such as the SPF/TXT email records. (So, do be sure those are in place and also contain valid values.)
Regarding using a standard email provider for your SMTP relay, there will always be ongoing challenges with these. None of those providers (e.g., O365, Gmail, etc.) really want you to use them for that, so they don't have any incentive to keep it working well for this purpose.
For consistent email relaying, you should use something like Amazon SES or Twilio's SendGrid (or any other dedicated email SMTP relay provider). Not only will you have more of a set-it-and-forget-it configuration, but when email issues occur, you'll have a ton more features to figure out why. A dedicated email SMTP/relay provider is the only way to have that kind of email troubleshooting capability. (Not to mention tons of other very useful features.)
>Blocking hot-linking images has nothing to do with SMTP. Setting one shouldn't have any impact on the other.
Obviouslly. I was stating 2 seperate but cloudflare related issues I was having. If I seemed to imply they were related beyond the cloudflare variable then my bad.
As for your suggestions thank you for that I will look into them.
Posted By Gothic Wizard on 1/8/2023 5:51 PM Which seems to boil down TLS 1.2+ needs to be enabled. If I am reading this correctly thats a code based fix to DNN than anything we can do, am I correct?
Not really. You need to fix that on your server. Download registry changes from https://marietteknap.stac...m/s/3bhBsWrivmDTu4GE and reboot the server.
What OS is your server?
Ah, if TLS is the problem, Mariette's script will be your fix.
For anyone else that's not as technical or might be afraid of touching their registry, the following tool works well.
https://www.nartac.com/Products/IISCrypto/
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.