Start a conversation

Resolving SMTP Server Configuration Error for Website Forms

Overview

The error "There is a problem with the configuration of your SMTP Server. Mail was not sent. Failure sending mail. Unable to read data from the transport connection: net_io_connectionclosed." was encountered when attempting to send emails from forms on the website. This issue was due to the internal SMTP server being down, which has since recovered. The customer resolved the issue by switching to their own SendGrid credentials.

Solution

Follow these steps to resolve the SMTP server configuration error:

  1. Verify SMTP Configuration:
    • Ensure SMTP settings in DNN are correct and match SendGrid's recommendations.
    • Navigate to Persona Bar > Settings > Servers > Server Settings > SMTP Server.
    • Re-enter SMTP details (server, port, authentication, username, and password/API key) as recommended by SendGrid.
    • Save changes and clear the DNN cache, then restart the application.
  2. Switch to Own SendGrid Credentials:
    • Confirm with SendGrid that there are no API keys for the current setup.
    • Generate a new API key in SendGrid and update it in DNN.
    • Test the SMTP connection using the "Test SMTP Settings" button.
  3. Check Network/Firewall Settings:
    • Ensure the server allows outbound connections to smtp.sendgrid.net on port 587.
    • Verify with hosting provider or internal IT for any firewall or network restrictions.
  4. Monitor SMTP Server Status:
    • Keep track of any internal SMTP server outages or recoveries.
    • Consider using external SMTP services like SendGrid for reliability.

Outcome: The customer switched to their own SendGrid credentials, resolving the SMTP connectivity issue.

Frequently Asked Questions

1. How do I know if this error applies to my situation?
You'll see the error message "There is a problem with the configuration of your SMTP Server. Mail was not sent. Failure sending mail. Unable to read data from the transport connection: net_io_connectionclosed." when attempting to send emails from your website forms.
2. What should I do if the SMTP server is down?
Consider switching to an external SMTP service like SendGrid. Ensure your SMTP settings in DNN are correct and match the service provider's recommendations.
3. How can I verify my SMTP configuration in DNN?
Navigate to Persona Bar > Settings > Servers > Server Settings > SMTP Server. Re-enter SMTP details and test the connection using the "Test SMTP Settings" button.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments