aimeos / ai-admin-jqadm

Aimeos e-commerce Vue.js+Bootstrap based admin interface
https://aimeos.org
GNU Lesser General Public License v3.0
184 stars 43 forks source link

Send out an e-mail to the customers #143

Closed TheWhiteShade closed 4 years ago

TheWhiteShade commented 4 years ago

I'm not able to send out an e-mail to the customers informing them about the payment status change. I set the email in the .env file and i'm not able to send any email from it to the costumer. Do i need to do something else?

aimeos commented 4 years ago

Did you set up the cronjobs properly? https://aimeos.org/docs/latest/laravel/setup/#cronjobs

TheWhiteShade commented 4 years ago

The emails are only sent if I run this command (php artisan aimeos:jobs "order/export/csv order/email/delivery order/email/payment order/email/voucher order/service/delivery subscription/export/csv customer/email/account"). First i tried setting up the cronjobs properly as you can see in this screenshot: Captura

Then i just run the comand mentioned before and it sends the emails, but i always have to run this command to sent the emails. The new linees of code added are not causing efect. Is that how it works?

aimeos commented 4 years ago

You need to set up a cron job that executes this command every minute:

php artisan aimeos:jobs "order/export/csv order/email/delivery order/email/payment order/email/voucher order/service/delivery subscription/export/csv customer/email/account"

That's intended. How this is done depends on your hosting environment.