Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Error> Message body empty

joe85joe85 New
edited August 2012 in Vanilla 2.0 - 2.8

Hello,
When user ask for forgot password, he enter his email but get error> Message body empty

Do you have any idea ?

My page here

Comments

  • Options

    You need to either be more specific with the error message or show a screenshot.
    I do not get the 'Message body empty' message when I do 'forgot password'

    There was an error rendering this rich post.

  • Options

    This is itimage

  • Options
    UnderDogUnderDog MVP
    edited August 2012

    Bingo! The message you get comes from phpMailer.

    library/vendors/phpmailer/class.phpmailer.php

    $this->error_count = 0; // reset errors
    $this->SetMessageType();
    $header = $this->CreateHeader();
    $body = $this->CreateBody();
    
    if (empty($this->Body)) {
    throw new phpmailerException($this->Lang('empty_message'), self::STOP_CRITICAL);
    }


    Unfortunately I cannot see what's going on with the CreateBody() function, it might be something else. It's also phpMailer, which is an external script, so I don't know whether it can be fixed.

    There was an error rendering this rich post.

  • Options

    This ; was the problem that caused all that stuff...
    @UnderDog Thanks for your help.
    How much do I owe you ?

  • Options

    UnderDog Thanks for your help. How much do I owe you ?

    underDOG enjoys it when you scratch his back and rub his tummy, but not too much otherwise he might bite. :)

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.