Roundcube Community Forum

 

Impossible to send mail.

Started by Calaad, August 19, 2015, 07:25:19 PM

Previous topic - Next topic

Calaad

Hi,

I just make a plugin update : php composer.phar update

Until this, i can no more send mails. Logs says :

PHP Fatal error:  Call to undefined method Mail_mimePart::encodeHeader() in /var/www/roundcube/vendor/pear/mail_mime/Mail/mime.php on line 1333

It(s just like this error (http://trac.roundcube.net/ticket/1490462) but "php composer.phar clearcache" doesn't change anything.

My composer.json look like :


{
    "name": "roundcube/roundcubemail",
    "description": "The Roundcube Webmail suite",
    "license": "GPL-3.0+",
    "repositories": [
        {
            "type": "composer",
            "url": "http://plugins.roundcube.net/"
        },
        {
            "type": "pear",
            "url": "http://pear.php.net/"
        },
        {
            "type": "package",
            "package": {
                "name": "Net_SMTP",
                "version": "dev-master",
                "source": {
                    "url": "http://github.com/pear/Net_SMTP",
                    "type": "git",
                    "reference": "master"
                }
            }
        },
        {
            "type": "vcs",
            "url": "https://git.kolab.org/diffusion/PNL/php-net_ldap.git"
        }
    ],
    "require": {
        "php": ">=5.3.7",
        "roundcube/plugin-installer": ">=0.1.5",
        "johndoh/sieverules": ">=0.1.2",
        "johndoh/markasjunk2": ">=0.1.2",
        "roundcube/carddav": ">=1.1.1",
        "pear/mail_mime": ">=1.8.9",
        "pear/mail_mime-decode": "~1.5.5",
        "pear/net_smtp": "dev-master",
        "pear-pear.php.net/auth_sasl": ">=1.0.6",
        "pear-pear.php.net/net_idna2": ">=0.1.1",
        "pear-pear.php.net/net_sieve": ">=1.3.2",
        "patchwork/utf8": "1.2.x"
    },
    "minimum-stability": "dev"
}





Thanks by advance.

alec

Remove vendor directory and do `composer.phar install` again.

Calaad

Damn, it works !

Thank you Alec :).

romjean

Hi,

Had the same problem in roundcube 1.1.2
After plugins manipulations and various composer updates, no way to send an email.

After following Alec's instructions, it worked fine again.
Thank you !

RomJean