Welcome to Geeklog, Anonymous Friday, October 04 2024 @ 11:02 pm 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 11:02 pm.

  • 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