Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Email php error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hendri><
n00b
n00b


Joined: 16 May 2004
Posts: 14

PostPosted: Thu Jul 08, 2004 3:46 pm    Post subject: Email php error Reply with quote

I get this error every time I add someone to a group or someone registers.


Failed sending email :: PHP ::

DEBUG MODE

Line : 234
File : /var/www/localhost/htdocs/includes/emailer.php

Someone told me it could be that I don't have a email program running or something so my gentoo box wont send it out. But I'm just using my Hotmail name right now cus I havent got a email server running.
Back to top
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Thu Jul 08, 2004 4:02 pm    Post subject: Reply with quote

If you don't have an smtp daemon running then it won't be able to send the mail out and you will indeed get errors.

Examine the output of a simple mail() command. If you get a 1 then it was at least sent to the daemon which implies you have one. A 0 shows it didn't work.
_________________
My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200!
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Jul 08, 2004 5:04 pm    Post subject: Reply with quote

You should have ssmtp installed by default, simple smtp. You'll need to configure it, pretty simple, and then PHP will be able to use the generic sendmail wrapper to send mail. You can also install a full MTA, but if you're not going to be delievering email locally or receiving email I wouldn't bother.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum