I recently migrated to a new web server at work that is running Ubuntu Server 6.06.1 LTS which has PHP 4.4.2. The old server was running PHP 4.3.10, so upgrading from PHP 4.3 to PHP 4.4 caused HTML Mime Mail to give notices when running in the website with error_reporting(E_ALL).
It took me awhile to debug the notices so I thought I would save someone else the trouble who might be googling for an answer. At any rate the following are the changes I had to make.
In RFC822.php add "$comments = array();" after line 566.
In htmlMimeMail.php on line 455 & 470 change the line to "$return = &$obj->addSubpart('', $params);" by adding a "&" in front of "$obj->".
In smtp.php change line 94 to the following:
$return = $this->auth ? $this->ehlo() : $this->helo();
return $return;
I would submit a patch to Richard Heyes the author but I didn't seen anywhere on his site that you could submit patches.
del.icio.us
digg
newsvine
blinklist
magnolia
Please be considerate of others. Keep comments relevant. Content deemed inappropriate or offensive may be edited and/or deleted. Email addresses are never displayed.
Line breaks and paragraphs are automatically converted — no need to use p or br/. Quotes, apostrophes, and double-dashes are automatically converted to smart punctuation. Be careful when copying and pasting portions of entries or other comments.
Links can be created using the standard <a href="http://url">urlName</a>. The following inline HTML elements may also be used: strong, em, cite, & code. The title attribute is allowed within any element. All other code will get removed before posting.
Comments
seems like the images not encoded (?)
any hints?