Find where there sendmail is and put this in an .htaccess file: php_value
sendmail_path  '/path/to/sendmail -t'

Ethan Schroeder

----- Original Message -----
From: "Christian Dechery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 7:04 PM
Subject: [PHP] need some ideas here...


> My free-web-hosting (www.f2s.com) does not allow PHP to send emails...
I've
> tried everything... the mail() function, my alternate function which calls
> popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/usr/bin/php'
> and all that stuff...
>
> the mail simply won't go an mail() always returns false...
> I'm guessing there's no mail sending in this server...
>
> so what do I do?
>
> is it possible for me to call a script on another host from with a script
> and return something to it?
>
> like
> <?php
> code ... code ... code...;
> code ... code ... code...;
>
> here I'd have some code to call a script in another host that can send
> mails, of course with the necessary parms...;
>
> code code code....;
> code code code....;
> ?>
> ____________________________
> . Christian Dechery (lemming)
> . http://www.tanamesa.com.br
> . Gaita-L Owner / Web Developer
>
>
> --
> 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]
>


-- 
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