Whenever myBB sends an e-mail to my users, it all appears as one garbled mess with no line breaks or other formatting. I assume this is because the e-mails are written in plaintext but are being sent as HTML. How can I set MyBB to send these e-mails as properly formatted plaintext?
As far as I am aware, all MyBB emails are sent as plain text already.
MrDoom Wrote:As far as I am aware, all MyBB emails are sent as plain text already.
When I formatted my e-mails in HTML from the Admin CP, they were properly formatted when I received them, so obviously my MyBB is sending e-mails as HTML.
functions.php - Line 356:
$headers .= "Content-Type: text/plain; charset=\"{$charset}\"\n";
Looks like plain text to me. Check yours.
MrDoom Wrote:functions.php - Line 356:
$headers .= "Content-Type: text/plain; charset=\"{$charset}\"\n";
Looks like plain text to me. Check yours.
EDIT: Found it, checking now.
Tamer Brad Wrote:MrDoom Wrote:functions.php - Line 356:
$headers .= "Content-Type: text/plain; charset=\"{$charset}\"\n";
Looks like plain text to me. Check yours.
EDIT: Found it, checking now.
Yes, it looks the same as yours ... but my e-mails are being sent as HTML ...
I had to have it modified to work with SMTP auth, maybe that's the issue here.
EDIT:
http://community.mybboard.net/showthread.php?tid=24580 This is what I am using.
Maybe, what does this "class.phpmailer.php" that it uses send the mail as?
MrDoom Wrote:Maybe, what does this "class.phpmailer.php" that it uses send the mail as?
I have no idea ... my host did this for me, so I'll try and find out. I have no idea where class.phpmailer.php would be.