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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsError when using HTML in email templateError when using HTML in email template
Previous
 
Next
New Post
2/20/2011 6:37 PM
 
I am experiencing a timeout issue when a user tries to signup/enroll for an event if I have any HTML code in the "Moderate Event/Enrollment Email Approve/Deny - Body" template section. I am on Events 5.1.5 and DNN 5.4.4. Here is the error I am getting. Any help would be greatly appreciated.

AssemblyVersion: 5.4.4
PortalID: 0
PortalName: Healthy Woman Online
UserID: 3
UserName: caleb@falkon.net
ActiveTabID: 89
ActiveTabName: ChapterEvents1
RawURL: /ChapterEvents1/tabid/89/ctl/Details/Mid/568/ItemID/1752/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.healthywomanonline.com/ChapterEvents1/tabid/89/ctl/Details/Mid/568/ItemID/1752/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; Zune 4.7)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 824d0711-af82-49b5-a793-b72aa26d521a
InnerException: Thread was being aborted.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Text.RegularExpressions.RegexRunner.EnsureStorage
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at System.Text.RegularExpressions.RegexRunner.EnsureStorage() at Go38(RegexRunner ) at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick) at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) at System.Text.RegularExpressions.Regex.IsMatch(String input) at DotNetNuke.Common.Utilities.HtmlUtils.IsHtml(String text) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, List`1 Attachments, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
Source:
Server Name: CHSHW


The code I was trying to use as the template is as follows:

<img src='http://www.healthywomanonline.com/Portals/0/Templates/Email_Header_Logos/HW_FORREST_CITY.jpg' border='0' /><br /><br />We have information about your enrollment for the event: [event:title]<br />[event:title]<br />[NOTALLDAYEVENT][event:startdate][/NOTALLDAYEVENT][ALLDAYEVENT][event:startdate|D][/ALLDAYEVENT] to [DISPLAYENDDATE][NOTALLDAYEVENT][event:enddate][/NOTALLDAYEVENT][ALLDAYEVENT][event:enddate|D][/ALLDAYEVENT][/DISPLAYENDDATE] [IFTIMEZONEDISPLAY]([event:timezone])[/IFTIMEZONEDISPLAY]<br /><br />If you have any questions, please contact your Healthy Woman Coordinator by email at [event:customfield1].<br /><br />
 
New Post
2/21/2011 3:48 AM
 
Hi Caleb,

This can be resolved in one of two ways, unfortunately both by upgrade. Somewhere in the DNN 5.4.x time period the core introduced a bug in the HTML detection routine. I've never figured out which specific version though. So you can upgrade to a later version o DNN to solve the problem, I would guess at 5.6.x as being safe, but I would need to look through old Gemini bugs, because I know it took them a while to fix.

Alternatively, you can upgrade to Events 5.1.5, which is a bug fix release over 5.1.4. This introduced an extra setting where you could either leave the core autodetcetion of HTML, or force it on or off. While you are on DNN 5.4I would recommend you using a setting other than auto.

Hope this helps.
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
2/21/2011 7:24 AM
 
I guess that means I need to upgrade my DNN version, as I have already upgraded the Events module and set the HTML Email option to html.
 
New Post
2/21/2011 7:28 AM
 
Sorry :-(. Looking back through Gemini there was a whole series of linked issues. Here is one - http://support.dotnetnuke.com/issue/V...

Looks like you need to go to at least 5.5.

Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
2/21/2011 7:34 AM
 
No problem, I probably needed to do that anyway :)
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsError when using HTML in email templateError when using HTML in email template


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