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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Email Bug in 7.2.0 causing major issuesEmail Bug in 7.2.0 causing major issues
Previous
 
Next
New Post
1/30/2014 11:48 PM
 
This presents a problem, we have an email address dedicated to our DNN sites to ensure they are whitelisted and get through the mailserver. For 5 years now and over 400 sites, we've used this designated email in Host -> SMTP settings. Now, with DNN 7.2.XX it won't work anymore. The Host->SMTP settings email must match the email being used in all other modules, including shopping carts, contact forms, newsletters, etc, etc.

Problem 2 this presents is it requires or clients to either
1. Give us their email username and password (many are not willing.)
2. Provide them host level access to their own site where they can enter this info, which is not something we would like to do, as most people end up breaking their site when they have host level access.

Also, this does not ensure the website is whitelisted when it sends emails, which has a negative impact on the other sites on the same server/ip.


Hawaii Web Design and SEO by One Wave Designs
 
New Post
2/1/2014 9:46 AM
 
The question I would be asking ... Is ... Is you shopping cart module not putting the right values in sendmail ... Seems to me like a simple compile and debug with the dnn source code would let you walk thru and see what is going of in your system that is miss behaving.

Would think it would be a matter of a few minutes work to verify and determine what's going on .... I'm not seeing anything in the source code that would block or limit the email addresses you are using ... Where are you seeing a test that says emails much match. IMHO that's more something that would be I forced by an SMTP server not dnn.

Westa
 
New Post
2/11/2014 5:42 PM
 
We found this issue to be caused by how DNN is storing the SMTP password.

DNN 7.2+ has now started encrypting the SMTP account password. While upgrading to DNN 7.2.0 the SMTP password was not encrypted, but when attempting to send the email it is looking for an encrypted password. As the existing password is not encrypted it is "invalid".

More info here: https://support.powerdnn.com/kb/a1930...

Hope this helps others!

Kevin Carlson
Project Manager
Smith Consulting
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
2/11/2014 6:26 PM
 

That's good news that you've found the problem. However the fact that the value is now encrypted should not be an issue as the API methods were updated to encrypt/decrypt the values as necessary

There are a few 7.2.0 installs that had issues during upgrading, where the full upgrade set of steps did not apply. As the code that initially encrypts the smtp password is the final step, it can mean that the smtppassword fails to encrypt - and thus when the API accesses it (e.g. on the host settings page) it tries to decrypt an unencrypted value and fails.

We added code in 7.2.1 to capture this case and resolve any issues (i.e. detect that the value was unencrypted and encrypt it).

 In DNN 7.2.0 the API was updated to use the secure methods for storing and retrieval of the smtp values so as long as the API was being used the values would be perfectly usable - obviously if some code read the value directly from the database (i.e. skipping the API method) then there could be an issue, but we do not support direct database access so module developers are recommended to use the API methods i.e. use Host.SMTPPassword . I'm guessing that your module either used direct table access or else use the lower level API method (HostController.Instance.GetString("SMTPPassword")) which is not aware of the encryption. Either way a change to Host.SMTPPassword will fix it.

thanks.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Email Bug in 7.2.0 causing major issuesEmail Bug in 7.2.0 causing major issues


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