summaryrefslogtreecommitdiff
path: root/utils/mail.php
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mail.php')
-rw-r--r--utils/mail.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/mail.php b/utils/mail.php
index e681d21..42d1339 100644
--- a/utils/mail.php
+++ b/utils/mail.php
@@ -48,7 +48,7 @@ class _Mailinglist {
{
$subject = "[".$this->subj_prefix."] " . $subject;
$message .= "\n\n".$this->footer;
- $email->send($subject, $message, $this->sender, $this->replyto);
+ return $email->send($subject, $message, $this->sender, $this->replyto);
}
public function post($subject, $message)
@@ -65,7 +65,9 @@ class _Mailinglist {
foreach($this->mailinglist as $email) {
- $this->postSingle($email, $ubject, $message);
+ if($this->postSingle($email, $ubject, $message) == false) {
+ echo "[fail: " . $email . "]";
+ }
$pct = $num / $sz * 100;
if($pct >= $lvl) {