Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] Mail() *quickly* From: Brian Burton-Cundall (lists <email protected>)
Date: 01/30/99

I'm a Perl programmer just starting out with PHP. I'm building a password
protected site for members and I want to send an email to new users when they
sign up so that they get it *immediately*.

I've done this in the past in Perl by missing out the -odq flag when writing via
a pipe to sendmail. Invoking the script in Perl and I get an email back within
seconds but in PHP I'm writing:

$done = Mail("sales <email protected>", "CLUB: Request for membership", $message);

I get $done back as 1 so it's been successful but I don't get the mail or else
it's still in the queue. Either way, I want a way to avoid the delay. Can I do
this with PHP directly or do I need to open a pipe to sendmail?

Thanks
Brian

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>