Re: mail() stopped working
From: Janwillem Borleffs (jw_at_jwscripts.com)
Date: 11/03/04
- Next message: J.O. Aho: "Re: how to read a file into a variable?"
- Previous message: ScareCrowe: "Advice on included files"
- In reply to: Jesper Nielsen: "mail() stopped working"
- Next in thread: Jesper Nielsen: "Re: mail() stopped working"
- Reply: Jesper Nielsen: "Re: mail() stopped working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 3 Nov 2004 21:39:57 +0100
Jesper Nielsen wrote:
> I had working mail() scripts now for a long time on my site.
>
> All of a sudden they all say Server Error.
>
> My web provider has closed for the day, but on their support pages it
> says I should use smtp.cliche.dk in my php mail scripts. I would like
> to do that, but where? I have never mail servber details in my
> scripts before.
>
When your provider uses Windows, putting the following on top of the script
in which you are calling the mail() function will fix your troubles:
ini_set("SMTP", "smtp.cliche.dk");
But it's neverless very odd that your provider doesn't take care of this for
you by changing the php.ini file.
JW
- Next message: J.O. Aho: "Re: how to read a file into a variable?"
- Previous message: ScareCrowe: "Advice on included files"
- In reply to: Jesper Nielsen: "mail() stopped working"
- Next in thread: Jesper Nielsen: "Re: mail() stopped working"
- Reply: Jesper Nielsen: "Re: mail() stopped working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|