Hi
When I use many many email in my mail() function, I dont receive any email, I use a seed/test email in the middle of emails.
But when I put only 1 email or 2 or 5 it works good I receive the email.
Do you know if LVCS.net is putting a limit with the mail() function?
here is the code I use:
$post = $_POST["emails"];
preg_match_all('^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})^', $post, $matches);
if(isset($matches)) {
$mfa = implode(", ", $matches[0]);
$from = 'From: invitezvosamis@pretp2p.com';
$to = $mfa;
$subject = 'Vous êtes invité sur PRETp2p.com!';
$message = "Vous avez été invité par l'un de vos ami(e) à découvrir le service web PRETp2p.com, www.pretp2p.com";
mail($to,$subject,$message,$from);
--Jon