Red Hat Bugzilla – Bug 1468128
script to send unsent mail stops on any bad message
Last modified: 2017-07-13 23:07:42 EDT
Description of problem:
The script backing the cron job to send unsent mail terminates if a bad email is encountered.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run the script
It will die because there are bad change sets in the DB.
All pending email is sent.
It should eval the call to Bugzilla::BugMail::Send and blurt out a message if it catches an error.
Sending mail for bug 934000...
blew up, skipping because: Invalid parameter passed to Bugzilla::Bug::new_from_list: It must be
@Jfearn, it work smoothly in QE server except with killer, Do you think it is a problem?
Sending mail for bug 1104574...
3 mails sent.
Took 1 seconds.
Sending mail for bug 1104598...
You have new mail in /var/spool/mail/root
Then I rerun this script, it could send out all email smoothly.
Yeah that should be OK.