>try doing a echo eg
>
>$mail = mail( $to, $subj, $Message );
>echo $to;
>echo "<BR>";
>echo $subj;
>echo "<BR>";
>echo $Message;
>echo "<BR>";
>echo $mail;
>
>and see if that is setting the variables...if $mail = 1 then on php's side mail is 
>sent if it's 0 then u have an error

How can I see what the error is?

>> -----Original Message-----
>> From: Bob Lockie [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, 22 July 2002 1:56 PM
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] email
>> 
>> 
>> 
>> I need help with sending email.
>> I can hear 127.0.0.1 doing something (I assume it sends email 
>> because there are no bounces).
>> 
>> I have the following in my php.ini file:
>> 
>> sendmail_from = [EMAIL PROTECTED]
>> sendmail_path = /usr/sbin/sendmail -t -i
>> 
>> 
>> The PHP is:
>> mail( $to, $subj, $Message );
>> 
>> I am sure all the variables are valid.
>> 
>> 
>> 
>> 
>> -- 
>> 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