i have following variables in jquery
var uemail="abc@domain.com,xyz@domain.com,gty@domain.com";
var subj="test message";
var text="<b>This is Email Body Text</b>";
i have one PHP file named “email.php” to send email
<?php
$email =$_GET['email'];
$subject =$_GET['subj'];
$message = $_GET['text'];;
if(mail($email, $subject, $message, "From: $email"))
echo "1";
else
echo "0";
?>
what i want to do is
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.
abc@domain.com (ok)
xyz@domain.com (Error)
gty@domain.com (ok)
Thanks
Here’s an alternate approach if you don’t want multiple timers running parallel.