The following code is used.
$mail = new Zend_Mail(); $mail->setBodyHtml($message) ->setFrom(' abc@gty.com ', 'abc') ->addTo($to, 'admin') ->setSubject($subj);
This is the part I wrote.
I get the correct html in $message . The $ variable used above refers to the received message. The email I receive contains the contents, for example:
AAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
In the starting part, all the contents of the mail are beautiful.
thanks in advance
source share