Re: Mail

From: Date: Thu, 05 Oct 2000 21:05:29 +0000
Subject: Re: Mail
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-18769@lists.php.net to get a copy of this message
I often experience this on our server if our mailing list is going out (which sends about 1M mails) - but other than the PHP install, quirks with your mail server, or restarting Apache (which usually helps), I'm not sure why this would be occuring. The code looks sane. --Joe On Thu, Oct 05, 2000 at 01:49:29PM -0700, Chronos wrote: > I am new to PHP and have a quick question, > I am setting up an automated reply after a client completes a form using the > following code.. > > ##################### > <?php > mail("$HTTP_POST_VARS[email]", "Registration Recieved", > " > Dear, $HTTP_POST_VARS[name] > > Thank you for your payment. > > Thank you speach here BLA BLA BLA... > > Thank you > myemail@domain.com > ", > "From: myemail@domain.com"); > ?> > #################### > > It works fine on one of my servers, but it is extremly SLOOOOWW on one of > the other servers. > Is this somthing that is wrong with the code or the server? I am thinking > it is the server or maybe the instalaton of PHP it self on the server. <?php > phpinfo() ?> works just fine and is quick. I have tried a scaled down > version for the mail code, (see below) and it is still very slow. Can > somthing be done to the server to tweak it or the PHP instalation itself?? > Here is a link to my PHP Info file. > http://www.dotcom.am/phpinfo.php3 > and here is a link to the code you see below. > http://www.dotcom.am/mailit/mail11.php3 email address is my own > in this > code. > > #################### > <?php > mail(myemail@server.com, "My Subject", "Line 1\nLine 2\nLine 3"); > ?> > ################### > > > Any help would be GREAT! > Thank you > Randall > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net /*****************************\ * Joe Stump * * www.Care2.com * * Office: 650.328.0198 * * Extension: 122 * \*****************************/ http://www.miester.org/Joe/Stump/Joe_Stump_resume.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$ N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@ 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)! ------END GEEK CODE BLOCK------

« previous php.general (#18769) next »