Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:10 am EDT

Geeklog Forums

sending mail


Status: offline

robbik

Forum User
Newbie
Registered: 01/15/04
Posts: 6
hi,

I'm having trouble using the PHP mail function to send mail. I just installed Geeklog on my Gentoo server and it doesn't send e-mail (upon user registration etc.).

ssmtp (sendmail is linked to ssmtp in /usr/sbin) from command line works, e.g.
Text Formatted Code
cat message | sendmail -i -v email@email
 

But when I'm trying to send e-mail from a php script I get this line in my apache error log
Text Formatted Code
sendmail: No recipients supplied - mail will not be sent
 


I've also written a small PHP script that should just send e-mail, there mail() returns true but I never receive any mail??

Any ideas?
 Quote

All times are EDT. The time is now 05:10 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content