Quote from: tigrokon at Apr 07, 2013, 08:41 AM
As it was mentioned above formit also uses phpmailer class (/core/model/modx/mail/phpmailer/class.phpmailer.php)
The problem was with $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);
(line 482). With $params variable. I just removed it and got everything work)
This just happened to me yesterday with no visible explanation. As you've seen, most answers have been vague at best, and hackish at worst. However, when I look at this code, it pointed me back to the
in my script, and when I check the value of $sender, sure enough it had a right-single-quote (â€™) in it. When I removed that, the class instantiated and worked fine.
So it seems that the problem isn't the $params variable above, the problem is not-so-good error logging in phpMailer (and not being able to accept utf8 characters?).