DNN Forums

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

Error loading Smtp Server tab

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

Hi, in my latest DNN9.10.2 installation I only realized it now that I'm no able to access to SMTP settings. I receive "Error loading Smtp Server tab" and it doesn't allow me to save anything

I've no exceptions in Admin Log, but looking at Server Setting-> Logs log.resorces I can see this exception:

2022-04-02 12:21:50.540+02:00 [WEB001][D:14][T:27][ERROR] Dnn.PersonaBar.Servers.Services.ServerSettingsSmtpHostController - System.NullReferenceException: Object reference not set to an instance of an object. at Dnn.PersonaBar.Servers.Services.ServerSettingsSmtpHostController.GetSmtpSettings()

I've tried to manual add SMTP portal and general settings in HOSTSETTINGS table and in PORTALSETTINGS table but DNN still can't send any emails.

I don't know what to do anymore, can someone help me?

New Around Here
Posts: 19
New Around Here

Yess! I've fixed!

Missing mail configuration in web.config

See details here:

https://github.com/dnnsof...orm/discussions/5072

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