Welcome to Geeklog Friday, May 07 2021 @ 03:14 am EDT

Geeklog Forums

sending mail


Status: offline

robbik

Forum User
Newbie
Registered: 15/01/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.
PHP 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
PHP 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 03:14 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