View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15352||Bug reports||[All Projects] Survey participants (Tokens)||public||2019-10-02 09:39||2019-10-09 11:35|
|Target Version||Fixed in Version|
|Summary||15352: LimeSurvey doesn't set X-surveyid, X-tokenid, X-did headers for bounce tracking on my LS local instance|
When sending survey invitations, LimeSurvey doesn't appear to include X-survey* headers in the emails.
Comparison between my local instance:
And a free LS.org instance:
since both are on 3.18.0 it might be possible this is a database issue? I'm using Postgresql 10.
|Steps To Reproduce|
Create a new survey, send invitations, look at the headers.
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||3.18.0|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||Postgres 10|
|Server OS (if known)||Linux|
|Webserver software & version (if known)||nginx|
No plugins used. All vanilla.
Alright, while playing a little bit more with it, I figured out, that this appears to only happen when participants register.
So, when sending invitations and reminders through the admin panel, the token and survey-id get properly included in the headers.
So this issue appears to only happen at registration. At least we can rule out my smtp server mangling headers.
Anything that can be done about this?
I think it's already fixed in 4.0 …
But the issue is «Survey register didn't set header for bounce tracking»
I fixed it locally for now, by adding:
$customheaders = array('1' => "X-surveyid: ".$iSurveyId, '2' => "X-tokenid: ".$sToken);
and modyfing SendEmailMessage to include $customheaders as additional parameter.
I'll add a PR.