Skip to content

Commit

Permalink
Fixed issue #5491: SMTP error messages though emails are sent fine
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11214 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 19, 2011
1 parent 82c6432 commit a878a3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4294,7 +4294,7 @@ function SendEmailMessage($mail, $body, $subject, $to, $from, $sitename, $ishtml
$mail->IsSMTP();
if ($emailsmtpdebug>0)
{
$mail->SMTPDebug = true;
$mail->SMTPDebug = $emailsmtpdebug;
}
if (strpos($emailsmtphost,':')>0)
{
Expand Down
2 changes: 1 addition & 1 deletion config-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
$emailsmtppassword = ''; // SMTP authorisation password - empty password is not allowed
$emailsmtpssl = ''; // Set this to 'ssl' or 'tls' to use SSL/TLS for SMTP connection

$emailsmtpdebug = 0; // Settings this to 1 activates SMTP debug mode
$emailsmtpdebug = 0; // Settings this to 1 activates SMTP debug mode on errors, set to 2 to always show SMTP debug information

$maxemails = 50; // The maximum number of emails to send in one go (this is to prevent your mail server or script from timeouting when sending mass mail)

Expand Down

0 comments on commit a878a3d

Please sign in to comment.