I'm going to try changing that. I don't have access to my client's
server as I work remotely, so I can't view any logs... or can I? If
anyone else have something for me to try, start shooting...

Thanks,

Cesar L. Aracena
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(0299) 156-356688
Neuquén (8300) Capital
Argentina


-----Mensaje original-----
De: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]] 
Enviado el: viernes, 03 de enero de 2003 3:15
Para: Cesar Aracena; [EMAIL PROTECTED]
Asunto: Re: [PHP] Mass-mailing method

Take a look at the sendmail.log for some clues...

But I had something weird were it worked fine for me at home Linux 8 PHP
4.2.2
and when I sent it up to the prod server I had to change the ."\r\n";
to ."\n";
Which technically is wrong.

Go figure!

But take a look at the sendmail log to begin with.

Mike

 

*********** REPLY SEPARATOR  ***********

On 03/01/2003 at 3:08 AM Cesar Aracena wrote:

>Hi all,
>
>I did a registration page for a customer, and now I'm trying to develop
>a way for him to send an e-mail once in a while to the people
registered
>with him. I did something (shown below) and everything seems to be ok,
>but the e-mail never reaches... Can someone find the problem or maybe
>point me to something already done to send multiple e-mails as BCC???
>
>Thanks in advance,
>
>$query = "SELECT * FROM mararegistro2 ORDER BY lname";
>$result = mysql_query($query) or die (mysql_errno());
>$num_rows = mysql_num_rows($result);
>
>for ($x=0; $x < $num_rows; $x++)
>{
>$row = mysql_fetch_array($result);
>$bcc .= $row[email]."; ";
>}
>
>$myname = "".$name.""; 
>$myemail = "".$email.""; 
>
>$contactemail = $bcc; 
>
>$message = "".$mes.""; 
>$subject = "".$subject.""; 
>
>$headers .= "MIME-Version: 1.0\r\n"; 
>$headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; 
>$headers .= "From: ".$myname." <".$myemail.">\r\n"; 
>$headers .= "Bcc: ".$contactemail."\r\n"; 
>$headers .= "Reply-To: ".$myname." <".$myemail.">\r\n"; 
>$headers .= "X-Priority: 1\r\n"; 
>$headers .= "X-MSMail-Priority: High\r\n"; 
>$headers .= "X-Mailer: Joyeria Mara"; 
>
>$mail = mail("", $subject, $message, $headers);        
>
>
>
>Cesar L. Aracena
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>(0299) 156-356688
>Neuquén (8300) Capital
>Argentina
>
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to