Hi All,
I have a set up cron job for Transaction emails in magento 2.
The command bin/magento cron:run gives the result "Ran jobs by schedule."
Also i have set path in crontab for cron job to run as :
*/1 ***** www-data php /var/www/html/magento2/bin/magento cron:run
*/1 ***** www-data php /var/www/html/magento2/update/cron.php
*/1 ***** www-data php /var/www/html/magento2/bin/magento setup:cron:run
But , I am not able to send email.
Has anybody else come across this, any ideas how to fix it?
Thanks
Pranjal
Is the PHP mail() function working?
go to putty, add command
mail -s testingmail testing@gmail.com
testing message
.
If you will receive emai then emails are setup on server. you need to check your settings in that case.
Write Command In putty. Please Example