summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_mail.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index 49326b7..9ab04bd 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -286,7 +286,7 @@ function send()
$text .= "--$boundary1--\n";
}
- if (it::is_live())
+ if (it::is_live() || EDC('forcemail'))
return mail($to, $this->header_escape($this->subject), $text, join("\n", $headers), $this->flags);
else
return ED($to, $this->header_escape($this->subject), $text, $headers, $this->flags);