diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 11:42:54 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 11:42:54 -0700 |
| commit | 16fc4465d0e773239bfe11681f7303b46e6419f0 (patch) | |
| tree | fd67e408d9b3a7905553ce220ef948124d29c069 /modules/gallery/libraries/Sendmail.php | |
| parent | c0c65c6fcc971b1ea9c0afb75854aec502591d56 (diff) | |
| parent | 430b57578b048366f054743e47de1b66cebb574e (diff) | |
Merge branch 'master' of git@github.com:talmdal/gallery3
Diffstat (limited to 'modules/gallery/libraries/Sendmail.php')
| -rw-r--r-- | modules/gallery/libraries/Sendmail.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/libraries/Sendmail.php b/modules/gallery/libraries/Sendmail.php index 90998457..d6229e07 100644 --- a/modules/gallery/libraries/Sendmail.php +++ b/modules/gallery/libraries/Sendmail.php @@ -52,6 +52,7 @@ class Sendmail_Core { break; case "header": if (count($value) != 2) { + Kohana::log("error", wordwrap("Invalid header parameters\n" . Kohana::debug($value))); throw new Exception("@todo INVALID_HEADER_PARAMETERS"); } $this->headers[$value[0]] = $value[1]; @@ -70,6 +71,7 @@ class Sendmail_Core { public function send() { if (empty($this->to)) { + Kohana::log("error", wordwrap("Sending mail failed:\nNo to address specified")); throw new Exception("@todo TO_IS_REQUIRED_FOR_MAIL"); } $to = implode(", ", $this->to); |
