SpiderNitt/Document-Request-Portal

Mail Cron Job not sending Mails properly

オープン

#9 opened on 2020/09/26

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (3 件のフォーク)auto 404
backendbuggood first issue

Repository metrics

Stars
 (2 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the bug The mailer job does not fetch pending certificate requests correctly

To Reproduce Steps to reproduce the behavior:

  1. Change config mail credentials to your credentials. If it is gmail, switch on less secure access
  2. Locate mail.js inside database folder.
  3. Change cron time to next minute.
  4. Enable the mail cron.
  5. Check output log to see number of mails sent.
  6. Check mail sent from your inbox to see how many pending requests have been sent.
  7. Cross verify with the database.

Expected behavior The numbers sent in the mail should match with the db.

コントリビューターガイド