The "Support Requests" forum is now viewable by guests.

Main Menu

mail() function

Started by jonano, May 27, 2008, 09:34:55 PM

Previous topic - Next topic



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 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:';
$to = $mfa;
$subject = 'Vous êtes invité sur!';
$message = "Vous avez été invité par l'un de vos ami(e) à découvrir le service web,";