Re: command line are -c doesn't work on win2k?
| From: | mike cullerton | Date: | Fri, 18 Jan 2002 16:18:00 +0000 |
| Subject: | Re: command line are -c doesn't work on win2k? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81106@lists.php.net to get a copy of this message | ||
what about the "who@where.what"? is it failing on a 'bad' email address? or
maybe putting everything in variables and trying
mail($to,$subject,$message);
on 1/18/02 9:14 AM, Jeff D. Hamann at jeff_hamann@hamanndonald.com wrote:
> nope. no difference.
>
> jeff.
>
> "Mike Cullerton" <php-l@bakednotfried.com> wrote in message
> news:B86D88A7.1DF76%php-l@bakednotfried.com...
>> on 1/18/02 12:00 AM, Jeff D. Hamann at jeff_hamann@hamanndonald.com wrote:
>>
>>> I've been trying to figure out what was wrong with my script...
>>>
>>> <?
>>> mail("who@where.what", "Subject", "command line mail()
>>> test");
>>> ?>
>>>
>>> from the command line,
>>>
>>> php mail_test.php
>>>
>>> and getting,
>>>
>>> X-Powered-By: PHP/4.0.6
>>> Content-type: text/html
>>>
>>> attempting to deliver the mail<br>
>>> <b>Warning</b>: Unknown error in <b>mail_test.php</b> on line
> <b>3</b><br>
>>
>> didn't notice any other responses, and this is just a guess here, but how
>> about taking the '()' out of the body of the message. ie, "command line
> mail
>> test"
>>
>> -- mike cullerton michaelc at cullerton dot com
>>
>>
>
>
-- mike cullerton michaelc at cullerton dot com