On Monday, May 14, 2001, at 10:00 PM, Chris Adams wrote:

> On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote:
>> If you have an account on a remote host, you can always do something
>> like this:
>>
>> <?php
>>      include("http://www.remotehost.com/~myaccount/mailfunction.inc";);
>>
>>      mymail($to, $mailbody);
>> ?>
>>
>> where mailfunction.inc has the mymail function defined to just take 
>> your
>> parameters and stuff them into the standard mail().
>
> Wouldn't this still run the code on the local server with the 
> dysfunctional
> mail() command?

You are right - brain fart. Whomever suggested GETing or POSTing the 
mail text to a remote script earlier was correct. : )

Ben

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to