Hi;
I am new to PHP and have recently installed the
latest version of PHP on my linux box. I am trying to make the mail
function work with my MTA Qmail. I have been testing by I wrote a simple
testingemail.php script like this
<?php
ini_set ('display_errors', 1);
mail('[EMAIL PROTECTED]','Testing','Testing
- Congragulations!','From:[EMAIL PROTECTED]');
?>
This returns no errors but I never get the message.
I dont think qmail does either. I'm looking for what I would do to at
least get an error message so I can tell what the problem is.
The other configuration changes I have made
are:
/usr/local/lib/php/Mail/sendmail.php
I have changed the $sendmail_path to =
'/var/qmail/bin/sendmail';
I have also tried that the default
way.
I also changed the default configurations to no
avail in /usr/local/lib/php/Mail/smtp.php
$var_auth = true;
$var_password='imnottellng';
That is basically what I've done. Is there
something obvious I am missing, or is there a way I can make a better test
script to get me an error and at lesst indicate the problem? I hate to ask
here but I have scoured the net and am about out of ideas.
TIA,
Chris Holloway
|
- [PHP-INSTALL] Getting mail to work, help please Chris Holloway
- Re: [PHP-INSTALL] Getting mail to work, help please Chris Hewitt