RE: [PHP] email
| From: | Bob Lockie | Date: | Mon, 22 Jul 2002 04:14:38 +0000 |
| Subject: | RE: [PHP] email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108812@lists.php.net to get a copy of this message | ||
>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:bjlockie@lockie.ca]
>> Sent: Monday, 22 July 2002 1:56 PM
>> To: php-general@lists.php.net
>> 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 = nobody@127.0.0.1
>> 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
>>
>>
>>
>