Well, looks like it was working: ---------------
Thanks, I tried that and: Status on Exit is: 1 I currently have SMTP set to my outgoing server for my ISP
AH, yes, it worked, thanks! Must be something with my post-nuke software.
Mike Terzo wrote:
>have you tried just doing like: > > ><?php > >$to = "[EMAIL PROTECTED]"; >$subject = "Test Message"; > >$body = "hello me"; > >$status = mail($to,$subject,$body); > >print "Status on Exit is: $status\n"; > > >?> > > >put that in a small php file somewhere in your webtree.. and go to it >via the web. see if it works. if so your good.. and something to do >with post-nuke. > >if it doesn't.. then see what status gives you.. maybe that will lead to >the problem. > >--mike terzo >
Paul Furman wrote:
I also cannot get mail to work. I'm tinkering with a php package post-nuke that registers users & gets submissions. It's set up on my home win2k box with apache server and as I understand php has a mail server but maybe I need to also install a mail server. I changed SMTP in my php.ini from the default localhost to my ISP's outgoing mail server and per the php help docs I added a line setting the port to 25. The port setting fixed some errors I was getting from post-nuke and seemed to work but I'm not getting the actual mail confirming registration.
Sven Riedel wrote:
On Fri, Jan 30, 2004 at 08:12:55AM -0500, John Holden wrote:
Can you run sendmail from the terminal? If not, maybe your firewall is restricting outgoing traffic, or maybe Sendmail simply isn't started.
Yes, sendmail works fine; I'm running a domain-wide mailserver on that box as well (I know I know, not ideal configuration). The mailserver in question is postfix, but I can use the sendmail wrapper to send mail, so that isn't the problem.
Regs, Sven