Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2008, 09:35 AM
Junior Member
 
Join Date: Jan 2008
Posts: 1
Default Wrong output

Hello all,

I use the Zend_Mail class for sending an e mail. In the mail I get al kinds of characters that do not belong there. What am I doing wrong


My code:

// inside a function in my own object
// template object is retrieving the html

$objMail = new Zend_Mail();
$objMail->addTo($this->strTo);
$objMail->setSubject($this->strEmailSubject);
$objMail->setBodyHtml ($objTemplate->getHtml());
$objMail->send();

The Html from the template object

Dear xxx,<br />
&nbsp;<br />
Thanks for your reply. I will discus this with xxand get back to you.<br />
And the best wishes for 2008 to you too.<br />
&nbsp;<br />
Regards xxx


The HTML which is send (just a smal part):


<div style="padding-left:60px;">De=r xxx,<br />
&nbsp;<br />
Thanks for your reply. I will discus=this with xxand get back to you.<br />
And the best wishes for 2008=to you too.<br />
&nbsp;<br />
Regards xxx
</div>
=0A


Thanks in advance Roger
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:43 AM.