Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 08:35 am EST

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 EST. The time is now 08:35 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