I have recently upgraded to Magento After upgrade, the invoice and ship emails are not working from the admin console. Clicking on 'Submit Invoice' (with 'Email copy of invoice' checked) takes to a blank 500 page.

After debugging, it seems that

$mailer->send() method is causing the issue. The method is not returning. The method is present in code/core/Mage/Sales/Model/Order/Invoice.php.

Any clue on what could be the issue ?

1 Answer 1


I was able to figure out after debugging the issue in more detail. The issue was happening since method

mb_convert_encoding (lib/Pelago/Emogrifier.php)

was not defined and the method was not returning. The email was not sent and the Invoice/Shipping page showed a 500 error page.

I used the following command and things started working fine:

yum install php54-mbstring


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.