Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Attach image uploads of participants to admin notification email?

Attach image uploads of participants to admin notification email? 1 year 11 months ago #111731

  • KolyaKorruptis
  • KolyaKorruptis's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
The manual says attaching images is possible since v.2.05. (manual.limesurvey.org/Email_templates)
However that remark seems to refer to the attachment manager below the email template, which can only upload pre-existing files. Not files that were uploaded by survey participants.

I have tried adding the question-code of the upload question as a token in the email template. In the notification email text I now get this array, containing all image data.

[{ "comment":"Test","size":"16.871","name":"20110803_Maru.jpg","filename":"fu_hp2mwbnkbcd5bf2","ext":"jpg" }]

Close, but no cigar. So is it possible to attach image uploads of participants to the admin notification email?
The administrator has disabled public write access.

Attach image uploads of participants to admin notification email? 1 year 11 months ago #111890

  • KolyaKorruptis
  • KolyaKorruptis's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Thank you received: 1
  • Karma: 1
Any pointers in the right direction would be much appreciated.
The administrator has disabled public write access.

Attach image uploads of participants to admin notification email? 1 year 11 months ago #111891

  • tammo
  • tammo's Avatar
  • Offline
  • Premium Lime
  • Posts: 325
  • Thank you received: 58
  • Karma: 16
Did you already try setting HTML mails on?

Tammo ter Hark
Tools for Research
Haarlem/Amsterdam, The Netherlands
The administrator has disabled public write access.

Attach image uploads of participants to admin notification email? 1 year 11 months ago #111913

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
Hi,

Not in LS core, need a workaround or a core hack or a plugin.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.292 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form