Showing results for 
Search instead for 
Did you mean: 

Emails Not Sending

Emails Not Sending

My emails are not sending from Magento 2 installation on, I read online that this can be a cron job issue, one forum thread said to try running the cron job through CLI and see what happens.
I ran cron through CLI and this is the output:

root@localhost:/var/www/vhosts/ php magento cron:run
PHP Fatal error:  Class 'IntlDateFormatter' not found in /var/www/vhosts/ on line 93

Is there something wrong with the PHP script or am I missing something?
I sent this message to my hosting support and they said:
You are correct in your findings.
The failing file is AbstractFactory.php on line 93, it may be that it is looking for a particular file or value that has not been set.
You can check the file in the file manager to see what it requires, you may need to contact Magento support if there are issues with the file.
Also, when I check cron jobs through CLI it does have a line with M AILTO:"", should there be an email address in there? (I had to put the space in M AILTO as the form wouldn't allow the complete word)
Any advice would be appreciated

Re: Emails Not Sending

AbstractFactory.php doesn't have a line 93, this is it:


* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
namespace Magento\Framework\ObjectManager\Factory;

use Magento\Framework\ObjectManagerInterface;

abstract class AbstractFactory implements \Magento\Framework\ObjectManager\FactoryInterface
* Object manager
* @var ObjectManagerInterface
protected $objectManager;

* Object manager config
* @var \Magento\Framework\ObjectManager\ConfigInterface
protected $config;



as you can see it has 26 lines, am I missing something?