Does email to user group work?

More
3 months 3 weeks ago #197384 by Jmantysalo
I tested Mail to all members -button with a test group having just me and another user. However, I got

Email to xx- <This email address is being protected from spambots. You need JavaScript enabled to view it.> failed. Error Message : Message body empty

Can someone check if I am the only one with this bug. If I am not, I'll make a bug report.

Please Log in to join the conversation.

LimeSurvey Partners
More
3 months 3 weeks ago #197387 by Jmantysalo
It seems that application/controllers/admin/usergroups.php has code

$mailer->Body = $body;
foreach ($eguresult as $egurow) {
$mailer = \LimeMailer::getInstance(); // To reset error
$mailer->setTo($egurow->users->email, $egurow->users->users_name);
if ($mailer->sendMessage()) . . .

And this error disappears if I but the $mailer->Body = $body -line inside the loop. But what is the right way to use LS mail functions?

Please Log in to join the conversation.

More
3 months 3 weeks ago #197417 by DenisChenu
Maybe an issue : please make a bug report and put the link here.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.

Please Log in to join the conversation.

More
3 months 3 weeks ago #197437 by Jmantysalo
Done that: bugs.limesurvey.org/view.php?id=16160

Btw, 4.1.17 is not in the list of versions in the bug tracker.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now