View previous topic :: View next topic |
Author |
Message |
Hendri>< n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 May 2004 Posts: 14
|
Posted: Thu Jul 08, 2004 3:46 pm Post subject: Email php error |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
vonhelmet l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 06 Apr 2004 Posts: 770 Location: Somewhere in a school
|
Posted: Thu Jul 08, 2004 4:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Jul 08, 2004 5:04 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|