HomeHome Product Discus... Product Discus...Payment Registr...Payment Registr...Payment Confirmation Emails Not SendingPayment Confirmation Emails Not Sending
Previous
 
Next
New Post
3/3/2011 12:36 PM
 

I have installed the Pro module and configured it. When I register and fill out the form and click through the pages it completes just fine, however I never get an email (for the admin side or the registered user side) when the payment has been completed.

I have DNN and the Pro module installed on a Windows 2008 Server with IIS 7. My email server is a separate Microsoft 2008 SBS with Exchange 2007 which is the DC. Both machines are on the same domain.

Under Host Settings -> SMTP Server Settings I am able to send a test message successfully with the SMTP server set as the FQDN (server.domain.local) and the credentials entered as user@domain.local. Also, when I delete a registered user I receive an email saying the user has been deleted. So, I know the email is working.

I have the gateway set as manual. I have "Registered User" set to add when a successful payment is made. The Mail From EmailAddress is set. The email templates are configured.

What am I missing?

 
New Post
3/4/2011 11:32 AM
 

Please see the following posts that may help figure out why emails are not being sent from your portal. They are from the cart forum but the same concepts apply.


https://www.smith-consulting.com/forums/forumid/1/threadid/6244/scope/posts.aspx
https://www.smith-consulting.com/forums/forumid/1/threadid/763/scope/posts.aspx
http://www.smith-consulting.com/forums/forumid/1/postid/176/scope/posts.aspx
http://www.smith-consulting.com/forums/forumid/1/postid/19/scope/posts.aspx


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/9/2011 7:08 AM
 

This is the error message I am getting.

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: The email address (DQR, Inc. Online Payment<******@darnelrecovery.com>) is not in a valid format.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentException: The email address (DQR, Inc. Online Payment<******@darnelrecovery.com>) is not in a valid format.
Source:
Server Name: *****

***** are entered for privacy reasons by me.

Suggestions?

 
New Post
3/9/2011 7:59 AM
 

SOLUTION FOUND!

I found out that DNN 5.6.1 has a bug in the email validation regular expression.

The 5.6.1 regular expression for email validtion is:

^[a-zA-Z0-9_%\-+](?:\.*[a-zA-Z0-9_%\-+])*@[a-zA-Z0-9_\-](?:\.*[a-zA-Z0-9_\-])*\.[a-zA-Z]{2,9}$
The pre-5.6.1 regular expression validation is:
\b[a-zA-Z0-9._%\-+']+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}\b
This can be found under Admin->User Accounts->User Settings->Email Address Validation
So this turned out to be a bug not in Registration Pro but in DNN.
 
New Post
3/16/2011 1:11 AM
 

Glad to hear you got it worked out. Thanks for sharing the solution!


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...Payment Registr...Payment Registr...Payment Confirmation Emails Not SendingPayment Confirmation Emails Not Sending