[Solar-talk] mail part error

Jeff Surgeson solar at 3hex.com
Sun Apr 1 14:03:16 PDT 2007


Hi Paul

Setting up my new mail form and think I found something.

I commented out setHtml() in my script (basically what you had in your email) 
as below as I only send text only emails.

// alternative parts
$mail->setText($data['contact']['body']);
//$mail->setHtml($data['contact']['body']);

This caused a 

Notice: Undefined property: Solar_Mail_Message_Part::$encoding 
in /var/www/localhost/htdocs/libsvn/Solar/Mail/Message.php on line 689

Looking at mail_message line 679 and 689

// use the part's encoding
$encoding = $this->_html->encoding;

should that not be _encoding?

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the solar-talk mailing list