Re: send a mail

From: Date: Wed, 21 Feb 2001 11:47:40 +0000
Subject: Re: send a mail
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-40939@lists.php.net to get a copy of this message
the smtp part is configured like this: [mail function] SMTP = mysmtpserver sendmail_from = emanuele.defazio@semagroup.it there something else inside php.ini that I should change? P.S. other scripts work fine...I have this error just in using mail(); Delbono wrote: > To me, the SMTP in php.ini is wrongly configured. > > Secondo me è settato male l'SMTP nel php ini. > Ciao > > > Hi, I am new of php > > > > I have a file: send.php3 > > > > c:\type f:/http/php/send.php3 > > <? > > mail("emanuele.defazio@semagroup.it", "Subject test", "test > > text"); > > ?> > > c:\ > > > > when I get the page from my web server(apache under Win NT), the mail is > > sent correctly, but the browser is hung for 30 seconds, and after I > > have the following error: > > > > Fatal error: Maximum execution time of 30 seconds exceeded in > > f:/http/php/send.php3 on line 4 > > > > Someone can help me? > > > > Thanks > > > > Emanuele > > > > > > -- > > 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 > > > >

« previous php.general (#40939) next »