Welcome, Guest
Username: Password: Remember me

TOPIC: Can't receive system email.

Can't receive system email. 3 years 6 months ago #57357

  • ailine
  • ailine's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Please help to solve problem as below:
A.After creat a users, the user can not receive an email with a generated password which was sent from system.
B.After submit a survey,administrator also can't receive an Email,but In system,the Admin Notification is set as "Basic email notification".
Thanks for your support!
The administrator has disabled public write access.

Re: Can't receive system email. 3 years 6 months ago #57361

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 240
We need to know your mail sender system.

By default, LimeSurvey use the sendmail system of the web serveur. You can use your own smtp, or some other option.

docs.limesurvey.org/Global+settings&stru...urvey#Email_settings
The administrator has disabled public write access.

Re: Can't receive system email. 3 years 6 months ago #57421

  • ailine
  • ailine's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
To Shnoulle:Thanks for your reply.

Now, in config.php file:
$emailmethod = "smtp";
$emailsmtphost = "smtpl.example.com:25"; //My company's smtp server name

After sumit a survey, Error info as below:
Warning: fsockopen() [function.fsockopen]: unable to connect to smtpl.example.com:25 (Connection timed out) in /usr/local/apache2/htdocs/limesurvey/classes/phpmailer/class.smtp.php on line 109

Is my configure incorrect of config.php,how to set it?
Thanks:)
The administrator has disabled public write access.

Re: Can't receive system email. 3 years 6 months ago #57438

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 240
ailine wrote:
Warning: fsockopen() [function.fsockopen]: unable to connect to smtpl.example.com:25 (Connection timed out) in /usr/local/apache2/htdocs/limesurvey/classes/phpmailer/class.smtp.php on line 109
I think there are some error in the the smtp name (smtpl) but maybe there are too, some restriction for your mail server.
Sometimes, smtp can be accessed only with certain IP
Is my configure incorrect of config.php,how to set it?
In the last version 1.90+, smtp can be set in Global settings
The administrator has disabled public write access.

Re: Can't receive system email. 3 years 6 months ago #57454

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 248
Shnoulle wrote:
In the last version 1.90+, smtp can be set in Global settings
Check this, the example.com SMTP email setting shown at the error message indicates that you changed the setting at the wrong place. Setting at global settings (-> email in your case) overwrite all settings in config.php

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.111 seconds
Donation Image