diff options
author | Urban Müller | 2008-12-30 14:11:50 +0000 |
---|---|---|
committer | Urban Müller | 2008-12-30 14:11:50 +0000 |
commit | 42d766dc21efe81825c75507583015eae3990cc9 (patch) | |
tree | 727b963133a5385d965fcc8bf4b365e64664d6c0 /it_mail.class | |
parent | c5d6f31055323690fa1b6e29c362cd66fd765640 (diff) | |
download | itools-42d766dc21efe81825c75507583015eae3990cc9.tar.gz itools-42d766dc21efe81825c75507583015eae3990cc9.tar.bz2 itools-42d766dc21efe81825c75507583015eae3990cc9.zip |
nomail debug param
Diffstat (limited to 'it_mail.class')
-rw-r--r-- | it_mail.class | 4 |
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); } |