diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-02-25 08:23:55 -0500 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-02-25 08:23:55 -0500 |
commit | 97ee4c40c1e575efb7193fabd32a9d897673f8e2 (patch) | |
tree | 04b4c64a74a8dde5216672acfe9b006cb364690a /program | |
parent | c5c8e73351c38ece1b3814a8c82a0439e7424fc4 (diff) |
Don't sent the message again in saveonly mode
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/sendmail.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index e90b0ef61..08b085c88 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -517,7 +517,7 @@ if (function_exists('mb_encode_mimeheader')) { $MAIL_MIME->headers($headers); // Begin SMTP Delivery Block -if (!$savedraft) { +if (!$savedraft && !$saveonly) { // check 'From' address (identity may be incomplete) if (empty($from)) { $OUTPUT->show_message('nofromaddress', 'error'); |