Closed gianx89 closed 8 years ago
Hi. Its strange.
as Adapter
is extended from phpMailer
- so \PHPMailer::normalizeBreaks
method is called in this case and its working for me.
Could you please try to replace self
with static
like this
$text = static::normalizeBreaks($text);
Check if it will work for you and let me know - I'll try to investigate the issue deeper.
When I send and email with this code:
I get this error from the debugger:
This happens because in the Adapter.php file the normalizeBreaks() method is called:
But not implemented. If I comment out this call, it works like a charm. But I don't want to modify the source code downloaded via composer so, can you fix the error and make a commit?