summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2008-12-30 14:11:50 +0000
committerUrban Müller2008-12-30 14:11:50 +0000
commit42d766dc21efe81825c75507583015eae3990cc9 (patch)
tree727b963133a5385d965fcc8bf4b365e64664d6c0
parentc5d6f31055323690fa1b6e29c362cd66fd765640 (diff)
downloaditools-42d766dc21efe81825c75507583015eae3990cc9.tar.gz
itools-42d766dc21efe81825c75507583015eae3990cc9.tar.bz2
itools-42d766dc21efe81825c75507583015eae3990cc9.zip
nomail debug param
-rw-r--r--it_mail.class4
1 files changed, 3 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index 8dcb660..0eb7643 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -285,7 +285,9 @@ function send()
$text .= "--$boundary1--\n";
}
- return mail($to, $this->header_escape($this->subject), $text, join("\n", $headers), $this->flags);
+ $func = EDC('nomail') ? "ED" : "mail";
+
+ return $func($to, $this->header_escape($this->subject), $text, join("\n", $headers), $this->flags);
}