Can I set a global e-mail for all email messages sended by limesurvey

More
2 months 1 week ago #181642 by mferraz
Hi.

Is it possible to set a global (noreply) email for all email messages sended by limesurvey?

Just because we are getting a lot of messages sended from a addresses that doesn't permit other servers to send any messages, so in that way those messages are being classified as SPAM.

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

LimeSurvey Partners
More
2 months 1 week ago - 2 months 1 week ago #181665 by DenisChenu
By plugin : manual.limesurvey.org/BeforeTokenEmail

$this->getEvent()->set('from','noreply@example.org');

But only for email for token

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 2 months 1 week ago by DenisChenu.

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

More
1 month 2 weeks ago #182775 by herrlevin_
Hi Denis,

I tested your example but it doesn't seem to work.

I checked my smtp-server and limesurvey is always trying to access smtp via the mail configured in the corresponding survey. This email address is being protected from spambots. You need JavaScript enabled to view it. is only written into the sender of the mail, the authentication on my smtp seems to be wrong.
It doesn't even try to access my smtp via the smtp-settings from the admin-menu.

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

More
1 month 2 weeks ago #182776 by DenisChenu

herrlevin_ wrote: This email address is being protected from spambots. You need JavaScript enabled to view it. is only written into the sender of the mail

It's what you ask no ?

herrlevin_ wrote: the authentication on my smtp seems to be wrong.
It doesn't even try to access my smtp via the smtp-settings from the admin-menu.

? Why is related ?

Try to
$this->getEvent()->set('from',['noreply@example.org']);
$this->getEvent()->set('bounce','noreply@example.org');

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: herrlevin_

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

More
1 month 2 weeks ago #182786 by herrlevin_

herrlevin_ wrote: the authentication on my smtp seems to be wrong.
It doesn't even try to access my smtp via the smtp-settings from the admin-menu.


It's related because most smtp-servers won't allow a "wildcard"-login.

It did now work for me with:
$this->getEvent()->set('from',''Example <noreply@example.org>');
$this->getEvent()->set('bounce','Example <noreply@example.org>');

Thank you very much!

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

More
1 month 2 weeks ago #182791 by DenisChenu

herrlevin_ wrote: It's related because most smtp-servers won't allow a "wildcard"-login.

But login is not related to From or Return-Path

except with dumb server … bugs.limesurvey.org/view.php?id=10529

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

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!