cancel
Showing results for 
Search instead for 
Did you mean: 

not able to send transaction emails for Magento 2.

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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 3

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