Separate Send from and Reply to email addresses

More
2 weeks 16 hours ago #193850 by kclingerman
Hello,

We are trying to find a way to have different emails for the sender and the reply-to address in our survey invitations. I have looked around on the forums, google, and in the Limesurvey UI and I haven't found what we need. Does anyone know how we can do this?

Thanks!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 weeks 10 hours ago #193857 by jelo
A separate Reply-To field or a way to add such emailheader infos is not implemented.
Please open a feature request.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193871 by holch
I am always wondering why people do this. Why would you separate the sender from the reply address? I guess there is a good reason, but in my little head I couldn't yet find a reason that really makes sense.

I always find it strange when I receive an email from someone and it says, please do not reply to this email. This is the worst case, receiving an emails with no Reply-to address at all.

Now if the reply-to adress is different to the sender address I also find it strange. Why not just send from the same address that we should reply to?

Maybe someone can enlighten me. ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193877 by kclingerman
In our case we want to send the invitation email from a well known address(generic president of the university address This email address is being protected from spambots. You need JavaScript enabled to view it.) but we would like any replies to be sent to the survey administrator which is someone who would actually be able to assist with any questions about the survey.

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193881 by holch
Makes sense! I'd say this is a good use case, especially when you make it clear in the email.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193882 by holch
Even if you make a feature request, this might take forever to be implemented or actually might never make the cut (especially if no one sponsors such a feature).

Quick solution: get the survey links into a CSV/Excel and send the mail via a different tool that has more email features. I don't know if it has your specific feature, but I guess PHPList might have something like that. And from where the email has been sent isn't really relevant for LS, I guess.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193885 by kclingerman
Yeah I have considered temporarily modifying the $customheaders variable in limesurvey/application/controllers/admin/tokens.php to include a Reply-To email header. Any idea if that might work? I will find some time to test it in the next couple days. Thank you for the suggestion to get a list of participants and their links and use a separate tool to deliver the email. If I can't get LimeSurvey to do it that will probably be my only option.

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193888 by holch
I am not a coding expert, so you will have to wait for someone with more experience in this field to weigh in.

Maybe Denis has a plugin for this. You never know...

www.sondages.pro/
gitlab.com/SondagesPro/mailing

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193892 by cdorin
Though you can create the feature request and if it is requested + easy to be implemented, we may take it into account (in LS 4 :) ) .
The following user(s) said Thank You: holch

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #193904 by DenisChenu

cdorin wrote: Though you can create the feature request and if it is requested + easy to be implemented, we may take it into account (in LS 4 :) ) .

Please ...

Not a new setting used by only some people again and again ....

It's easily doable in plugin in 4.X, core plugin why not ... but not in all survey ... because really rarely needed

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #193965 by kclingerman
The quick hacky way to accomplish this was(in v4) to edit limesurvey/application/core/LimeMailer.php and add this line below line 219(as of 2/13/2020):
$this->addCustomHeader("Reply-To: email@domain.com");

Line 219 contains this:
$this->addCustomHeader("X-Surveymailer",Yii::app()->getConfig("sitename")." Emailer (LimeSurvey.org)");
in case anyone needs this in the future and the file has changed so line numbers aren't the same.

Obviously this will add the header to any emails sent from LimeSurvey so comment it out when you aren't using it.

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #193970 by DenisChenu

kclingerman wrote: ....
in case anyone needs this in the future and the file has changed so line numbers aren't the same.
...

Totally silly and stupid to update LimeSurvey core when a plugin can be really easy to do ...

You have sample here : github.com/LimeSurvey/LimeSurvey/tree/ma...ins/mailSenderToFrom

In function beforeEmail, just add
$limeMailer = $this->getEvent()->get('mailer');
$limeMailer->AddReplyTo('replyto@example.org', 'Reply to name');
And it's done ....

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #193982 by holch
Denis, not everyone is as firm with the plugin system for Limesurvey as you are.

kclingerman needed a quick solution and this is what he found. Might there be a better solution? Obviously, as you have shown. But we should be happy that he was giving back to the community, most people here are only taking.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #193983 by DenisChenu

holch wrote: Denis, not everyone is as firm with the plugin system for Limesurvey as you are.

kclingerman needed a quick solution and this is what he found. Might there be a better solution? Obviously, as you have shown. But we should be happy that he was giving back to the community, most people here are only taking.

Updating LimeSurvey core are always a bad solution.

And here : there are sample clear and easy to adapt.

LimeMailer : 799 lines
mailSenderToFrom : 48 lines

We have an extandable system : we must give good advice on forum not broken advice ... that potentially broke update ...

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #193992 by holch

We have an extandable system : we must give good advice on forum not broken advice ... that potentially broke update ...


I agree. But your post doesn't sound like "good advice" but like a grumpy old grandpa... ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!