Php邮件程序有时只发送电子邮件

my code looks like this

$GetUserQuery = $this->DB->GetAll("SELECT DISTINCT email, user_id FROM reviews WHERE product_id = ?i AND NOT email = ?s AND status=?i",$product_id, $email,1);
                $ProductUrl = MAIN_URL . Lang::GetLang() . '/product/detail/'.$product_id.'#link';
                   foreach ($GetUserQuery as $key => $value) {
                        $time = date('Y/m/d h:i:s');
                        if (Functions::IsEmail($value['email'])) {
                            Email::Send($value['email'], EMAIL, 'subject', 'message');
                        }
                   }

the idea is that it begins working when review is written and sends emails to all the emails to people who has written the review on same product but the idea is that it sends only 4 time and then I can't recieve emails.

if you have any reasons in mind write anything