Re: mail() issue...

From: Date: Thu, 18 Nov 2004 19:34:35 +0000
Subject: Re: mail() issue...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202459@lists.php.net to get a copy of this message
I did have that similar problem when it took about a minute or two on unix machine. It turn out to be a DNS issue, so the successful workaround I made was to use the host file instead in /etc/hosts by added the machine name to it since that what the sendmail use. Maybe this is in your case? --snip-- <ip address> <machine name> <machine name dot domain name dot com/org/net> --snip-- Scott "Paul Danko" <pdanko@gotoami.com> wrote in message news:016101c4cd9e$62077800$f506a8c0@brain... > I am building an application that uses the mail() command. I am running > on RedHat v9 with Apache v2 and PHP v4.3.8. The problem is, when I run > the mail() function, the submitting page is very slow (1-2 seconds), I > assume because it is waiting for the message to be queued up by > SendMail. Is there a way to fire off the mail command as a thread, > similar to the way to issues a command via the command prompt followed > by & to run it as a thread. > > Any ideas? > > Thanks, > > -Paul > > ------------------------------------------------ > Paul Danko > pdanko@gotoami.com > 443.677.7279 Mobile > 301.883.8881 x 127 Office > ------------------------------------------------ > >

« previous php.general (#202459) next »