Skip to content

Commit

Permalink
Fixed issue: If SMTP sending fails due to invalid domain all followin…
Browse files Browse the repository at this point in the history
…g invitations in the same batch fail too if using SMTP

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11489 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Nov 25, 2011
1 parent 5bc0fd4 commit 8778da9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admin/tokens.php
Expand Up @@ -1649,6 +1649,8 @@
}
else
{
unset($oMail);
$oMail = new PHPMailer;
$tokenoutput .= '<li>'.ReplaceFields($clang->gT("Email to {FIRSTNAME} {LASTNAME} ({EMAIL}) failed. Error Message:")." ".$maildebug."<br />", $fieldsarray).'</li>';
if ($debug>0)
{
Expand Down Expand Up @@ -1988,6 +1990,8 @@
}
else
{
unset($oMail);
$oMail = new PHPMailer;
$tokenoutput .= $emrow['tid'] ." ".ReplaceFields($clang->gT("Email to {FIRSTNAME} {LASTNAME} ({EMAIL}) failed. Error Message:")." ".$maildebug."<br />", $fieldsarray);
if ($debug>0)
{
Expand Down

0 comments on commit 8778da9

Please sign in to comment.