[wellylug] mailx and Php
Daniel Pittman
daniel at rimspace.net
Wed Nov 8 17:48:51 NZDT 2006
"E.Chalaron" <e.chalaron at xtra.co.nz> writes:
> Thanks to yesterday emails, I have mailx installed and working from a
> command line,
> Now I have a Php script that is supposed to send mails.
> So in order to get this working, I went for Php.ini (php5) and defined
> sendmail_path= /usr/bin/mail
That will not work, as others have pointed out. On Unix you shouldn't
need to change the default settings in your php.ini file for mail to
work at all.
> I am still waiting for my email to arrive.... :-[
> Am I missing anything.
Well, yes. You didn't tell us what your mail log contained regarding
the attempt to send mail. So:
Is the message still in the local queue?
What does the mail log show when you try to send the email?
Does your mail server work in general? You indicated that 'mail -s blah
foo at bar' works, right?
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
More information about the wellylug
mailing list