$mailer = new YiiMailer(); ... (Other settings here) ... $mailer->Body = $htmlBody; $mailer->AltBody = $textBody; $result = $mailer->Send();
This worked in EMailer, but in YiiMailer, it only sends out the HTML body, and the text body I get is just a garbled form of the HTML body. If I dump it out after setting it, I get the right data back, so I guess at some point after this it's ignored/overwritten. Is there a way I can fix this without modifying PHPMailer/YiiMailer itself? Some param I can pass in?