Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

email invitation via remote control api

  • first
  • first's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #155255 by first
Hi - I am trying to send survey invitations emails via remotecontrol api.

Version 2.6.3-lts: Success.
Version 2.6.4-lts: Fail. Response: {"id":1,"result":{"101":{"name":"test","email":"test@gmail.com","status":"fail","error":"Message body empty"},"status":"0 left to send"},"error":null}
I have checked and Invitation email template is not empty.

Please help.

Survey Designer and Programmer
The topic has been locked.
  • first
  • first's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #155258 by first
Replied by first on topic email invitation via remote control api
and the origin or message seems to be from here. I am not php expert(more into javascirpt). Please help.


Survey Designer and Programmer
The topic has been locked.
  • first
  • first's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #155259 by first
Replied by first on topic email invitation via remote control api
On further investigation I realized a differnece in token_helper.php:
LHS: Version 2.6.4
RHS: Version 2.6.3



I changed Version 2.6.4 to match with Version 2.6.3 and emails invitation is now working. Please confirm if it is bug and any side effect of this change.

Survey Designer and Programmer
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 9 months ago #155282 by LouisGac
Replied by LouisGac on topic email invitation via remote control api
thank you for reporting, and for this detailed report.

could you please add it to the bug tracker?
bugs.limesurvey.org/
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose