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?