Browse Source

Don't sent the message again in saveonly mode

pull/229/merge
Aleksander Machniak 11 years ago
parent
commit
97ee4c40c1
  1. 2
      program/steps/mail/sendmail.inc

2
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');

Loading…
Cancel
Save