diff options
author | Urban Müller | 2011-08-25 14:32:36 +0000 |
---|---|---|
committer | Urban Müller | 2011-08-25 14:32:36 +0000 |
commit | 7cc8afc5c9a49dce391d786edf521d86f158de0f (patch) | |
tree | e1f07e843e0d63cb8a14a24d4952ec3923ed3faf | |
parent | e030125946f2451ef63851dbd394d0811a447085 (diff) | |
download | itools-7cc8afc5c9a49dce391d786edf521d86f158de0f.tar.gz itools-7cc8afc5c9a49dce391d786edf521d86f158de0f.tar.bz2 itools-7cc8afc5c9a49dce391d786edf521d86f158de0f.zip |
more info in subject (in case sending of error mail fails, too)
-rw-r--r-- | it_mail.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class index 81a282f..dafd704 100644 --- a/it_mail.class +++ b/it_mail.class @@ -289,7 +289,7 @@ function send() if (it::is_live() || EDC('forcemail')) { if (($result = mail($to, $this->header_escape($this->subject), $text, join("\n", $headers), $this->flags)) === false) - it::error(array('title' => 'failed sending mail', 'body' => D($to, $this->header_escape($this->subject), $text, $headers, $this->flags))); + it::error(array('title' => "failed sending mail to $to subject $this->subject", 'body' => D($text, $headers, $this->flags))); return $result; } else |