Problem with sending a batch of email using php
<p>here is my function</p>

<pre><code>function send_edm ($u_email_sender_name, $u_content, $u_mail, $u_subject, $edm_id) {
        foreach ($edm_email as $value) {

            $this-&gt;rege = Route :: loadClass('core_route_regclass');
            $this-&gt;sendmail = $this-&gt;rege-&gt;phpmailer();

            $this-&gt;sendmail-&gt;Mailer = "mail";
            $this-&gt;sendmail-&gt;IsHTML(true);

            $email_sender = $u_email_sender_name;
            $mail = $config-&gt;company_email; 

            $subject = $u_subject;
            $fromwhere = $email_sender; 
            $content = $u_content;      

            $this-&gt;sendmail-&gt;From = $fromwhere;
            $this-&gt;sendmail-&gt;FromName = $fromwhere;
            $this-&gt;sendmail-&gt;AddAddress($value["email"]);

            $this-&gt;sendmail-&gt;Subject = $u_subject;
            $this-&gt;sendmail-&gt;CharSet = "utf-8";
            $this-&gt;sendmail-&gt;Encoding = "base64";

            $this-&gt;sendmail-&gt;Body = $u_content;
            $this-&gt;sendmail-&gt;AltBody = "This is the body in plain text for non-HTML mail clients";  

            if(!$this-&gt;sendmail-&gt;Send())
            {
                echo "Message could not be sent. &lt;p&gt;";
            }

        }
}
</code></pre>

<p>if i send over 1000 or more email send by using this function, will it be any  error occur possibly cause the Interrupt of the sending process? How to increase the reliability of sending email using php?</p>

<p>thanks</p>
