I have submited this bug for SugarCRM. Was Found in versions 5.2 , 5.5
Often people ask the question "Why SMTP connection doesn't work?" on the forum.
SMTP will doesn't work if password contains symbols ', ", <, > .
You need to edit the file "/include/phpmailer/class.smtp.php" for solving a problem.
(This solution is simple but not the best)
Regards,PHP Code:...
function Send() {
...
case 'smtp':
$toHTML = array(
'"' => '"',
'<' => '<',
'>' => '>',
"'" => ''',
);
$this->Password = str_replace(array_values($toHTML),array_keys($toHTML),$this->Password);
$result = $this->SmtpSend($header, $body);
...
}
...
Alexei Avramenko


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks