the smtp part is configured like this:
[mail function]
SMTP   =  mysmtpserver
sendmail_from = [EMAIL PROTECTED]

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("[EMAIL PROTECTED]", "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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to