forked from openwebwork/webwork2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs and improve error messages in SendMail.pm
It's a wonder that anything worked here. It's clear that errors in mailing would not have been reported. The actual bug seems to be that the value $r needs to be passed explicitly into cleanup_register(). This was not being done. It is not clear why this used to work. The error checking routine has been beefed up and to some extent unit tested. The unit tests can be repeated by uncommenting the warn messages.
- Loading branch information
Showing
1 changed file
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters