Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Sending notifications not working

  • liz.alfonso
  • liz.alfonso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #231311 by liz.alfonso
Replied by liz.alfonso on topic Sending notifications not working

 That's a little bit like wanting to shower, but avoiding to get wet. ;-)


All I want is all messages to be sent from LS' administrator's email.
 

Please Log in to join the conversation.

More
1 year 8 months ago #231314 by jelo
Replied by jelo on topic Sending notifications not working

All I want is all messages to be sent from LS' administrator's email.
 

Perhaps there is a misunderstanding.
In your first post, you explained that LimeSurvey is trying to sent an email with with "wrong" emailaddress, cause it isn't the administrator (LS installation) but a different one.
Since the SMTP-account used allows no other "From"emailaddress, the email delivery is blocked.

I recommend to check the emailaddress in the survey, where the notification is triggered from.
As stated before. In every survey there are "General survey settings", where you can set the "Administrator email address" and "Bounce email address".
manual.limesurvey.org/General_settings#Admin_email

Many hosting providers' SMTP servers will only accept emails whose "From:" address is on a local domain. Any emails that do not conform to this rule are discarded silently, without any visible error message. If this happens to you, ensure that you are using a provider-based email address in the "Admin email" field. You could also set up email forwarding on the provider's side, so that any messages sent there are relayed to your preferred address.


You will have to set the Administrator email address to the same address as in the SMTP account.
If that is still not working, you might debug  SMTP again.

The more common case here in forum is, that user want to define the SMTP account per survey, to ensure the survey administator email can be different in every survey (even though SMTP server have tougher restrictions these days).
 

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

Please Log in to join the conversation.

More
1 year 8 months ago - 1 year 8 months ago #231316 by jelo
Replied by jelo on topic Sending notifications not working

And we wouldn't want to have user's email's passwords stored either.

That's a little bit like wanting to shower, but avoiding to get wet. ;-)
If you want to send an email via SMTP, you usually need a password. So if you want to send the emails via a specific email, you'll need to use the password.

 
Perhaps a misunderstanding too, @holch. I think the wording "user email password" indicates, that @liz.alfonso is only wanting to prevent exposing personal email accounts, not credentials have to be saved in the system.
BTW: In LimeSurvey v5 the SMTP password is saved encrypted. In v3 I'm not so sure.

 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 1 year 8 months ago by jelo.

Please Log in to join the conversation.

  • liz.alfonso
  • liz.alfonso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago - 1 year 8 months ago #231323 by liz.alfonso
Replied by liz.alfonso on topic Sending notifications not working
manual.limesurvey.org/General_settings#Admin_email

Many hosting providers' SMTP servers will only accept emails whose "From:" address is on a local domain. Any emails that do not conform to this rule are discarded silently, without any visible error message. If this happens to you, ensure that you are using a provider-based email address in the "Admin email" field. You could also set up email forwarding on the provider's side, so that any messages sent there are relayed to your preferred address.

Right. But our SMTP not only has that rule. It has a rule that "From:" should be the exact address of the authentication user.

At global configuration we have authentication user set to,for example, "noreply.limesurvey", with its corresponding authentication password.

Any attempt to send an email with a "from:" not equal to "noreply.limesurvey@mydomain.es", will be rejected.

LS sends general messages (to groups or new users) using From: noreply.limesurvey@mydomain.es, and it works fine.
Whin in a survey, LS3 tries to send messages with From: surveyadmin@mydomain.es, and won't work. Message rejected, discarded or whatever. The SMTP server won't accept it, even if it's a valid email address of the same domain.

So, is there a global configuration option for: "Allways use LS administrator email address as From: of outgoing messages" or equivalent?
Last edit: 1 year 8 months ago by liz.alfonso.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose