Hey all, long time RoundCube user here.
I recently upgraded an installation from 0.2 to 0.6. Upgrade process went fine with a few hiccups, but I'm still trying to track down a problem.
When I attempt to send an email, the message never sends. When I check the syslog, this is what I see:
Oct 20 16:02:18 convoy roundcube: PHP Fatal error: Call to undefined method Mail_mime::getHTMLBody() in /usr/share/roundcube-webmail/program/steps/mail/sendmail.inc on line 102
Now, I know that Mail_mime is installed. I just installed PEAR via ye olde go-pear.phar and installed all of the dependencies. I ditched the Ubuntu 8.04 (what I'm stuck on at the moment) repo version to do this.
[colin@convoy roundcubemail-0.6-dep]$ pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.7 stable
Auth_SASL 1.0.6 stable
Console_Getopt 1.3.0 stable
MDB2 2.5.0b2 beta
Mail_Mime 1.8.2 stable
Net_IDNA2 0.1.1 beta
Net_SMTP 1.6.1 stable
Net_Socket 1.0.10 stable
PEAR 1.9.4 stable
Structures_Graph 1.0.4 stable
XML_Util 1.2.1 stable
Moreover, I verified the include path to be /usr/share/pear and here's a grep on the file:
[colin@convoy roundcube]$ grep -C 5 -H -n getHTML /usr/share/pear/Mail/mime.php
/usr/share/pear/Mail/mime.php-300- *
/usr/share/pear/Mail/mime.php-301- * @return string HTML body
/usr/share/pear/Mail/mime.php-302- * @access public
/usr/share/pear/Mail/mime.php-303- * @since 1.6.0
/usr/share/pear/Mail/mime.php-304- */
/usr/share/pear/Mail/mime.php:305: function getHTMLBody()
/usr/share/pear/Mail/mime.php-306- {
/usr/share/pear/Mail/mime.php-307- return $this->_htmlbody;
/usr/share/pear/Mail/mime.php-308- }
/usr/share/pear/Mail/mime.php-309-
/usr/share/pear/Mail/mime.php-310- /**
What could be the matter, here? I'm trying to use the GPL package for great justice but I'd rather not have to try the full package just because I've already chosen this path and would like to solve it if possible.
The obligatory:
[colin@convoy roundcubemail-0.6-dep]$ php -v
PHP 5.2.4-2ubuntu5.18 with Suhosin-Patch 0.9.6.2 (cli) (built: Oct 15 2011 15:36:15)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies