bonjour a tous!
voila, je voudrais envoyer un mail a tout un tas de destinataires, j'ai donc fais ceci :
et $mail2 contient une centaine d'adresse mail séparés par un ;
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16$mail2=''; $my=mysql_query("select DISTINCT c.email from clients c INNER JOIN service s ON c.id=s.id_user where s.publicitaire='1'"); while( $fe=mysql_fetch_array($my)) { if(substr($mail2, -1, 1)==';') $mail2=$mail2.$fe['email']; else $mail2=$mail2.';'.$fe['email']; } $mail2 = substr($mail2, 1); $mail2 = substr($mail2, 1); $mail2 = str_replace('; ;', ';', $mail2); echo $mail2; ?> <a href="mailto:<?php echo $mail2;?>&cc=">ici</a>
probleme : a partir d'un certain nombre d'adresse mail, mon mailto ne fonctionne plus et ma page ootlook ne s'ouvre pas....
sauriez pas comment configurer tout ca siouplais?
merchi bien!
Partager