summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2011-08-25 14:32:36 +0000
committerUrban Müller2011-08-25 14:32:36 +0000
commit7cc8afc5c9a49dce391d786edf521d86f158de0f (patch)
treee1f07e843e0d63cb8a14a24d4952ec3923ed3faf
parente030125946f2451ef63851dbd394d0811a447085 (diff)
downloaditools-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.class2
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