Re: mail() stopped working
From: Manuel Lemos (mlemos_at_acm.org)
Date: 11/04/04
- Next message: Theo: "Re: Parsing text boxes"
- Previous message: Floortje: "Re: Show the title of the page"
- In reply to: Jesper Nielsen: "mail() stopped working"
- Next in thread: Jesper Nielsen: "Re: mail() stopped working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 03 Nov 2004 22:14:20 -0200
Hello,
On 11/03/2004 04:41 PM, 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.
If you are not using Windows, you can't send messages via SMTP using the
mail() function. In that case you may want to try this class that comes
with a wrapper function named smtp_mail(). It works like the mail()
function but lets you specify the SMTP server to relay the messages.
http://www.phpclasses.org/mimemessage
You also need this:
http://www.phpclasses.org/smtpclass
and this if the SMTP server requires authentication:
http://www.phpclasses.org/sasl
-- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
- Next message: Theo: "Re: Parsing text boxes"
- Previous message: Floortje: "Re: Show the title of the page"
- In reply to: Jesper Nielsen: "mail() stopped working"
- Next in thread: Jesper Nielsen: "Re: mail() stopped working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|