|
|
|
Confusing email problem upgrading 1.70+ to 1.71+ 1 Month, 1 Week ago
|
Karma: 0
|
I was able to use the public registration function of LS when I was using 1.70+, but now that I recently upgraded to 1.71+ after some server problems. Each time I attempt to register, I fill in all the information and click submit, I get an "email error" message.
Original email settings from 1.70+ install:
// Email Settings
// These settings determine how LimeSurvey will send emails
$siteadminemail = "stephen.moist_at_c4pd.com";
$siteadminbounce = "stephen.moist_at_c4pd.com";
$siteadminname = "Stephen Moist";
$emailmethod = "smtp";
$emailsmtphost = "mail.c4pd.com";
$emailsmtpuser = "stephen.moist_at_c4pd.com";
$emailsmtppassword = "***********";
$emailsmtpssl = 0;
$maxemails = 50;
Current email settings from 1.71+ install:
// Email Settings
// These settings determine how LimeSurvey will send emails
$siteadminemail = 'stephen.moist_at_c4pd.com';
$siteadminbounce = 'stephen.moist_at_c4pd.com';
$siteadminname = 'Stephen Moist';
$emailmethod = 'smtp';
$emailsmtphost = 'mail.c4pd.com';
$emailsmtpuser = 'stephen.moist_at_c4pd.com';
$emailsmtppassword = '**********';
$emailsmtpssl = '';
$maxemails = 50;
I am using all the defaults for the email itself. Also, I have all the comments still in the config.php file. Any thoughts?
EDIT: I get a slightly more descriptive message when the error occurs during a save:
Error: Email failed, this may indicate a PHP Mail Setup problem on your server. Your survey details have still been saved, however you will not get an email with the details. You should note the "name" and "password" you just used for future reference.
|
|
|
|
Logged
|
|
|
Last Edit: 2008/08/11 17:33 By Mazi.
|
|
|
|
Joe (User)
Platinum Lime
Posts: 361
|
|
Re:Confusing email problem upgrading 1.70+ to 1.71 1 Month ago
|
Karma: 19
|
Hi,
Maybe your problem is connected to the following bugtracker issue.
http://bugs.limesurvey.org/view.php?id=2247
Ciao
Joe
BTW: It is always helpful if you post your revision number (eg. the newest available rev. of LS is 5326).
|
|
|
|
Logged
|
|
|
Last Edit: 2008/07/25 14:07 By ElMatador69.
Reason: corrected link
|
|
|
|
|
|
|
Re:Confusing email problem upgrading 1.70+ to 1.71+ 1 Month ago
|
Karma: 0
|
|
Thank you very much. I am good for now, as I do not need the email functionality right now as we are still in the testing/development phase. I don't want to downgrade, then have to upgrade at some point when the bug is fixed. I guess I'll just wait and see!
Just for clarification, the bug is in the SMTP AUTH bit?
Are there any logs I can be looking at that might help the devs solve this one?
|
|
|
|
Logged
|
|
|
Last Edit: 2008/07/25 18:10 By DaMoisture.
|
|
|
|
mdekker (User)
Junior Lime
Posts: 38
|
|
Re:Confusing email problem upgrading 1.70+ to 1.71+ 2 Weeks, 4 Days ago
|
Karma: 0
|
|
I tried using the smtp function with the latest svn (5406) and I need to use ssl/tls. I get a connection timeout error as described in the bugtracker... but when I keep trying eventually my email gets sent.
So I suppose somewhere the server is a bit slow in responding, maybe someone could try to give the server a little more time by changing a timeout somewhere in the code?
I use ssl and a port number in my setup.
I'm happy to try patches if needed.
|
|
|
|
Menno Dekker
|
|
|
Logged
|
|
|
|
mdekker (User)
Junior Lime
Posts: 38
|
|
Re:Confusing email problem upgrading 1.70+ to 1.71+ 2 Weeks, 3 Days ago
|
Karma: 0
|
|
I don't know... I was hoping that Limesurvey could wait a little longer for the connection to be established. I saw some timeout options in the phpmailer code but I am not sure what to change and where.
|
|
|
|
Menno Dekker
|
|
|
Logged
|
|
|
|
|
|
|
Re:Confusing email problem upgrading 1.70+ to 1.71+ 2 Weeks, 3 Days ago
|
Karma: 40
|
|
Hi!
You can try setting a higher timeout, although it is at 10 seconds at hte moment, which is high.
Edit common.php, look for the line
$mail = new PHPMailer;
and insert this line after that
$mail->$Timeout = 20;
This sets it to 20 seconds.
Please test and tell us if it works for you better.
|
|
|
|
Best regards
Carsten Schmitz
LimeSurvey Project Leader
|
|
|
Logged
|
|
|
|
|