- Posts: 83
- Thank you received: 7
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I set a global e-mail for all email messages sended by limesurvey
- mferraz
- Topic Author
- Offline
- Premium Member
Less
More
5 years 1 month ago #181642
by mferraz
Can I set a global e-mail for all email messages sended by limesurvey was created 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.
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.
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13620
- Thank you received: 2488
5 years 1 month ago - 5 years 1 month ago #181665
by DenisChenu
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.
Replied by DenisChenu on topic Can I set a global e-mail for all email messages sended by limesurvey
By plugin :
manual.limesurvey.org/BeforeTokenEmail
But only for email for token
Code:
$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 , plugin development .
I don't answer to private message.
Last edit: 5 years 1 month ago by DenisChenu.
The topic has been locked.
- Annharoloi_187812
- Visitor
5 years 2 weeks ago #182775
by Annharoloi_187812
Replied by Annharoloi_187812 on topic Can I set a global e-mail for all email messages sended by limesurvey
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. noreply@example.org 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.
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. noreply@example.org 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.
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13620
- Thank you received: 2488
5 years 2 weeks ago #182776
by DenisChenu
Try to
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.
Replied by DenisChenu on topic Can I set a global e-mail for all email messages sended by limesurvey
It's what you ask no ?herrlevin_ wrote: noreply@example.org is only written into the sender of the mail
? Why is related ?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.
Try to
Code:
$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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Annharoloi_187812
The topic has been locked.
- Annharoloi_187812
- Visitor
5 years 2 weeks ago #182786
by Annharoloi_187812
It's related because most smtp-servers won't allow a "wildcard"-login.
It did now work for me with:
Thank you very much!
Replied by Annharoloi_187812 on topic Can I set a global e-mail for all email messages sended by limesurvey
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:
Code:
$this->getEvent()->set('from',''Example <noreply@example.org>'); $this->getEvent()->set('bounce','Example <noreply@example.org>');
Thank you very much!
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13620
- Thank you received: 2488
5 years 2 weeks ago #182791
by DenisChenu
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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I set a global e-mail for all email messages sended by limesurvey
But login is not related to From or Return-Pathherrlevin_ wrote: It's related because most smtp-servers won't allow a "wildcard"-login.
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 , plugin development .
I don't answer to private message.
The topic has been locked.