DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Email issues with DNN

 5 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 25
New Around Here

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?

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

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.)  

New Around Here
Posts: 25
New Around Here

>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.

New Around Here
Posts: 0
New Around Here
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?

 

 

 

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

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/

New Around Here
Posts: 0
New Around Here
I have updated the script with "SchUseStrongCrypto" settings

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:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved