cancel
Showing results for 
Search instead for 
Did you mean: 

not able to send transaction emails for Magento 2.

not able to send transaction emails for Magento 2.

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

3 REPLIES

Re: not able to send transaction emails for Magento 2.

Is the PHP mail() function working?

Re: not able to send transaction emails for Magento 2.

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.

 

 

Re: not able to send transaction emails for Magento 2.

Write  Command In putty. Please Example