SpiderNitt/Document-Request-Portal
Mail Cron Job not sending Mails properly
Ouverte
#9 ouverte le 26 sept. 2020
backendbuggood first issue
Métriques du dépôt
- Stars
- (2 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Describe the bug The mailer job does not fetch pending certificate requests correctly
To Reproduce Steps to reproduce the behavior:
- Change config mail credentials to your credentials. If it is gmail, switch on less secure access
- Locate mail.js inside database folder.
- Change cron time to next minute.
- Enable the mail cron.
- Check output log to see number of mails sent.
- Check mail sent from your inbox to see how many pending requests have been sent.
- Cross verify with the database.
Expected behavior The numbers sent in the mail should match with the db.