Re: need some ideas here...

From: Date: Tue, 15 May 2001 01:00:32 +0000
Subject: Re: need some ideas here...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52779@lists.php.net to get a copy of this message
> 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? If you know an SMTP server that will allow you to relay mail, you can use fsockopen and write the mail directly to the port 25 on the relay server. I haven't tried it with PHP, but I've done something similar with tcl before. You might try finding something like this already written. -- Joe

« previous php.general (#52779) next »