Where to find mail logs? Debugging email issues can be a bit involved, hopefully this guide should point you in the right location.
Location
All mail logs will exist in one of two places:
- /home/magento/htdoc/mdoq/var/log/cron/mail - For email sent via cron
- /home/magento/htdoc/mdoq/var/log/php-fpm/mail - For email sent via cron
Accessing / Viewing
You can also find these logs in a nice format by viewing them within "Pimp My Logs".
- Select your production instance
- Select Support
- Select "Logs Viewer"
- You can then select the log you wish to view from the dropdown at the top.
Rotation
All mail logs are rotated nightly.
Previously rotated logs are compressed after one day.
Previously rotated and compressed logs are removed after 14 days.