View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06130Bug reportsResponse browsingpublic2012-06-20 14:08
Reporteruser20065Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06130: Response emails sent as "text/plain" but with HTML embedded
Description

In Version 1.92+ Build 120517, both the "Basic admin notification" and "Detailed admin notification" email templates send emails of submitted survey responses with the following characteristics:
1) emails contain embedded HTML.
2) emails are sent as "text/plain".
This results in emails in which the HTML tags are visible. There appear to be no means to select either plain text or HTML for these response emails.

Also, the UTF-8 encoding appears to really mangle the subject line on some of the emails.

Steps To Reproduce

Simply submit a response to a survey for which admin notification is turned on, and view the resulting email.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)120517
I will donate to the project if issue is resolvedNo
Browserany
Database type & versionMySQL 5.1.62-cll
Server OS (if known)Linux 2.6.18-338.9.1.el5.lve0.8.
Webserver software & version (if known)Apache version 2.2.21
PHP VersionPHP 5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-05-28 08:34

administrator   ~18931

Last edited: 2012-05-28 14:26

I can't reproduce. Please attach a small sample survey. Thank you.

user20065

2012-05-29 02:57

  ~18982

Export attached of survey whose responses exhibit the problem identified in the original post

TMSWhite

TMSWhite

2012-05-31 15:56

reporter   ~19017

I can reproduce, both for the token email, and the detailed admin notification.

Note that the survey includes HTML in the welcome message, so unless explicitly stripped, that will also appear in the token email.

Also, the detailed admin email includes some unneeded content, such as <script type="text/javascript" src="http://localhost/git/ls192/scripts/survey_runtime.js&quot;>&lt;/script>

c_schmitz

c_schmitz

2012-06-12 14:39

administrator   ~19204

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=8711

c_schmitz

c_schmitz

2012-06-12 14:39

administrator   ~19205

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=8712

c_schmitz

c_schmitz

2012-06-12 14:40

administrator   ~19206

Response notification emails are now always sent as HTML

c_schmitz

c_schmitz

2012-06-20 14:08

administrator   ~19406

New 1.92+ version released.

Related Changesets

LimeSurvey: master 6f16949d

2012-06-12 05:37:58

c_schmitz

Details Diff
Fixed issue 06130: Response emails sent as "text/plain" but with HTML embedded Affected Issues
06130
mod - index.php Diff File

LimeSurvey: Yii fac91442

2012-06-12 05:39:36

c_schmitz

Details Diff
Fixed issue 06130: Response emails sent as "text/plain" but with HTML embedded Affected Issues
06130
mod - application/helpers/frontend_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-05-24 20:36 user20065 New Issue
2012-05-28 08:34 c_schmitz Note Added: 18931
2012-05-28 08:34 c_schmitz Assigned To => c_schmitz
2012-05-28 08:34 c_schmitz Status new => feedback
2012-05-28 14:26 c_schmitz Note Edited: 18931
2012-05-29 02:56 user20065 File Added: limesurvey_survey_84861.lss
2012-05-29 02:57 user20065 Note Added: 18982
2012-05-29 02:57 user20065 Status feedback => assigned
2012-05-31 15:56 TMSWhite Note Added: 19017
2012-06-12 14:39 c_schmitz Changeset attached => LimeSurvey Yii fac91442
2012-06-12 14:39 c_schmitz Note Added: 19204
2012-06-12 14:39 c_schmitz Resolution open => fixed
2012-06-12 14:39 c_schmitz Changeset attached => LimeSurvey master 6f16949d
2012-06-12 14:39 c_schmitz Note Added: 19205
2012-06-12 14:39 c_schmitz Status assigned => resolved
2012-06-12 14:39 c_schmitz Fixed in Version => 1.92+
2012-06-12 14:40 c_schmitz Note Added: 19206
2012-06-20 14:08 c_schmitz Note Added: 19406
2012-06-20 14:08 c_schmitz Status resolved => closed