In Magento how to send emails (order, new user etc) asynchronously?
In my production instance calls like $mailer->send(); takes around 40 to 60 seconds.
In Magento how to send emails (order, new user etc) asynchronously?
In my production instance calls like $mailer->send(); takes around 40 to 60 seconds.
Copyright © 2021 Jogjafile Inc.
I ended up using Redis for queuing mechanism, where in mail details would be pushed to Redis list based queue (using
lpushcommand) and poped at the worker (usingbrpopcommand)