We have PHP 4.2 installed on Mac OS X under Apache.

The settings in the php.ini file are:

sendmail_from - [EMAIL PROTECTED]
sendmail_path - /usr/sbin/sendmail -t -i 
SMTP - localhost
smtp_port - 25

>A quick way to check whether mail is configured correctly is to use the mail 
>option of error_log().

How do I do this? Set up an echo on my form page?

<?
echo mail error_log();
?>

???

Thank you all for your help.

>On Wednesday 01 October 2003 22:51, Eric Rounds wrote:
>> I have tried numorous email form tutorials, and all have not sent to the
>> recipient. I don't know what is wrong. How do I check to see that sendmail
>> is installed on PHP on Apache? The form goes through. I can pass variables
>> and echo or print them, but I just can't seem to get it to send the message
>> to the email I set up as the recipient...
>>
>> My globals are turned ON on my php.ini file.
>>
>> Using php 4.2
>>
>> Any help is greatly appreciated!
>
>Check that the mail related settings in php.ini are correct.
>
>What OS is your server running?
>
>A quick way to check whether mail is configured correctly is to use the mail 
>option of error_log().
>
>If all else fails try one of the classes in www.phpclasses.org, it bypasses 
>php builtin mail() command.
>
>-- 
>Jason Wong -> Gremlins Associates -> www.gremlins.biz
>Open Source Software Systems Integrators
>* Web Design & Hosting * Internet & Intranet Applications Development *
>------------------------------------------
>Search the list archives before you post
>http://marc.theaimsgroup.com/?l=php-general
>------------------------------------------
>/*
>Law of Continuity:
>       Experiments should be reproducible.  They should all fail the same way.
>*/
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
 

Eric Rounds

studio - 215.297.5429
cell - 215.431.2313

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to