Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP Test email comes through, but nothing else...SMTP Test email comes through, but nothing else...
Previous
 
Next
New Post
7/18/2010 8:26 PM
 
This is the same issue as I had reported on Gemini.  It caused if you used basic Authentication on the SMTP settings, used a other email account (on same domain) as used on the host settings.  And the email that was send is not using the sender header with the value of the SMTP username.

Checking New installations from DNN 5.2.3 up to 5.5.0(336) gives me different results but always sends the "SMTP Configuration Test" insead the newsletter.

I am still try to fource out what caused this issue.
 
New Post
7/18/2010 10:17 PM
 
A few observations based on my code review and testing:
  1. I believe we actually have several issues here:
    1. SMTP Settings/Mail Server misconfiguration/Mail Server Security. Tried in localhost install of DNN 5.4.4 sending newsletter to recipients in 4 domains with SMTP settings configured for basic authentication. Sender was admin user in same domain but not same username/email account specified in SMTP settings which was that of host user. All recipients received newsletter. Admin user received email summary, Host user received SMTP Test Email. Repeated test after changing sender email to one outside of domain specified for SMTP server. Only email received was SMTP Test Email by the host user. No errors were logged.
    2. Host Settings Bug in DNN 5.5.0.336. Repeat of same test in DNN 5.5.0.336 Beta using same SMTP configuration in Host Settings. This resulted in NO emails being sent including the SMTP Test Email. Errors displayed and logged regarding sender not allowed to relay and  recipient being graylisted. Traced this down to being related to Host Settings update error I had reported in Gemini as DNN-13046. In Services\Mail\Mail.vb at line 403, if basic authentication has been specified in Host Settings, the following code is to be executed:

      Case "1" ' basic
           If Host.SMTPUsername <> "" And Host.SMTPPassword <> "" Then
                    smtpClient.UseDefaultCredentials = False
                    smtpClient.Credentials = New System.Net.NetworkCredential(Host.SMTPUsername, Host.SMTPPassword)
           End If

      However, due to an improper fix in DNN 5.5.0 to prevent host settings passwords from being exposed to token replacement, any setting containing the string "password" has been stripped from the host settings dictionary. Host.SMTPPassword will always return empty string with the result that SMTPClient credentials are not properly set. My mail server sees that as an attempt to send without authentication.

      This issue is marked as Closed-Duplicate (of DNN-12548) which while having a related issue description is showing the checked in fix as one that is totally unrelated to the issue. Have got to ask Charles about that as I don't believe root issue has been fixed.

    3. High CPU utilization/hang/timeouts all appear releated to the regex used to set the body HtmlFormat to either Text or Html. I had tried that same regex when working on the Feedback module and found similar performance issues when the email body was long or complex or it failed to detect Html Markup completely.

  2. Regarding the sending of the SMTP Test Email, this is sent out immediately through a direct call to SendMail by the newsletter module when Asynchronous mode (the default) is selected. Other emails including the summary report are then processed on a separate thread. When sending newsletters with Synchronous mode selected, the SMTP Test Email is not sent. The sending of the Test Email has nothing to do with whether or not there is a SMTP error.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
7/19/2010 9:31 AM
 
Chris Hammond wrote:
I don't know if/why IIS7 would cause an issue, but perhaps. Did you try the fix that was mentioned in that Gemini issue I linked to?

 Chris.. I will have my It team do this as I don't have access to make those changes on the server. As soon as they do this I will let you know if this fixes the issue.

 
New Post
7/19/2010 9:37 AM
 
William... Thank you for your insight - I will pass this info along as well.
 
New Post
7/19/2010 2:05 PM
 
Chris... or anyone else that might have an insight to this SMTP issue:

For the fix you sent a link - concerning Gemini... Does this fix basically state that .NET Framework 4.0 should fix this issue? Or is there code edits to DNN that must be made... The is obviosuly an issue here. I have many sites (DNN and non-DNN) on this server that use ASP forms they all work with the excpetion of the 5.4.4 instances of DNN.

The server is using IIS7, Windows Server 2008 and .NET 3.5 - Does this combination cause issues with DNN 5.4.4? Would .NET 4.0 cause issues if installed? If it is not a requirement of DNN 5 should you make it one if it fixes this error?

A couple other thigns:
  • All DNN 5.4.4 instances have this issue... it does not matter if they were new installs or upgrades from previous versions.
  • Every other site or DNN 5.2.x and lower do not have this issue at all.

Anyone have an idea at all? Is this Gemini related? Is it DNN 5.4.4 specific? is it the server configuration in reagdrs to DNN 5.4.4? I cannot seem to get this to work?

This all happened after 5.4.4 was installed...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SMTP Test email comes through, but nothing else...SMTP Test email comes through, but nothing else...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out