calling php file from jquery at specific interval
<p>i have following variables in jquery</p>

<pre><code>var uemail="abc@domain.com,xyz@domain.com,gty@domain.com";
var subj="test message";
var text="&lt;b&gt;This is Email Body Text&lt;/b&gt;";
</code></pre>

<p>i have one PHP file named "email.php" to send email</p>

<pre><code>&lt;?php

      $email =$_GET['email'];
      $subject =$_GET['subj'];
      $message = $_GET['text'];;

     if(mail($email, $subject, $message, "From: $email"))
     echo "1";
     else
     echo "0";
?&gt;
</code></pre>

<p>what i want to do is</p>

<p>call email.php for number of time i have email address in variable uemail and each time pass email,subj,text to email.php and print result on page that with 10 Sec interval Between each time email.php called.</p>

<blockquote>
  <p>abc@domain.com (ok)<br>
  xyz@domain.com (Error)<br>
  gty@domain.com (ok)</p>
</blockquote>

<p>Thanks</p>
