modules/comment/comment.admin.controller.php 1 location
|
@@ 151-163 (lines=13) @@
|
148 |
|
if($module_info->admin_mail) |
149 |
|
{ |
150 |
|
$target_mail = explode(',', $module_info->admin_mail); |
151 |
|
for($i = 0; $i < count($target_mail); $i++) |
152 |
|
{ |
153 |
|
$email_address = trim($target_mail[$i]); |
154 |
|
if(!$email_address) |
155 |
|
{ |
156 |
|
continue; |
157 |
|
} |
158 |
|
if($author_email != $email_address) |
159 |
|
{ |
160 |
|
$oMail->setReceiptor($email_address, $email_address); |
161 |
|
$oMail->send(); |
162 |
|
} |
163 |
|
} |
164 |
|
} |
165 |
|
//mail to all emails set for administrators - STOP |
166 |
|
} |
modules/comment/comment.controller.php 1 location
|
@@ 600-610 (lines=11) @@
|
597 |
|
$target_mail = explode(',', $admins_emails); |
598 |
|
|
599 |
|
// send email to all admins - START |
600 |
|
for($i = 0; $i < count($target_mail); $i++) |
601 |
|
{ |
602 |
|
$email_address = trim($target_mail[$i]); |
603 |
|
if(!$email_address) |
604 |
|
{ |
605 |
|
continue; |
606 |
|
} |
607 |
|
|
608 |
|
$oMail->setReceiptor($email_address, $email_address); |
609 |
|
$oMail->send(); |
610 |
|
} |
611 |
|
// send email to all admins - STOP |
612 |
|
} |
613 |
|
|
modules/board/board.controller.php 1 location
|
@@ 169-175 (lines=7) @@
|
166 |
|
$oMail->setSender($obj->user_name ? $obj->user_name : 'anonymous', $obj->email_address ? $obj->email_address : $member_config->webmaster_email); |
167 |
|
|
168 |
|
$target_mail = explode(',',$this->module_info->admin_mail); |
169 |
|
for($i=0;$i<count($target_mail);$i++) |
170 |
|
{ |
171 |
|
$email_address = trim($target_mail[$i]); |
172 |
|
if(!$email_address) continue; |
173 |
|
$oMail->setReceiptor($email_address, $email_address); |
174 |
|
$oMail->send(); |
175 |
|
} |
176 |
|
} |
177 |
|
} |
178 |
|
|