Skip to content

Fix the Email Glitch In Dynamic Forms and DNN 5.6.1

by on July 19, 2011

If you are having an issue with your forms emails not being sent, the following may fix the error, particularly if you are using an older version of Dynamic Forms with a newer version of DNN (ie. DNN 5 and up). The problem revolves around a change in the email validation expression causing an error within the Dynamic Forms module (your email SMTP tests should all work).

Solution 1: Change the email validation on the site

  1. Go to Admin > User Accounts > Click on User Settings (at the bottom of the list)
  2. Change Email Address Validation regular expression
    • REMOVE: ^[a-zA-Z0-9_%\-+](?:\.*[a-zA-Z0-9_%\-+])*@[a-zA-Z0-9_\-](?:\.*[a-zA-Z0-9_\-])*\.[a-zA-Z]{2,9}$
    • REPLACE: \b[a-zA-Z0-9._%\-+’]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}\b
  3. Click Update
  4. Test forms ā€“ the email should work now

NOTE: If this does not work, make sure there are no spaces in the Regular Expression above ā€“ this includes leading or trailing spaces. If it still does not work, double check your email completion information (From, To, etc.) and make sure it is accurate. Also, postini, and junkmail filters can often catch form responses. If this seems to be fine, try the method below.

Solution 2: Remove From Name & From Address

If this still is not working for your Dynamic Forms/DNN versions, try removing the From Name and From Address in the Dynamic Forms module Form Completion Events. This will automatically pull the site admin email and name. Make sure those are set to something which is acceptable to your setup. This may require a DNN upgrade.

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: