On 06/02/2003 02:27 AM, Tony S . Wu wrote:
thanks. but unfortunately, i still get errors:
Warning: Failed opening '/Library/WebServer/Documents/mime/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
the include path is somehow wrong...
I would need to see what you are doing in your script as I don't know what is that test.php script.
thanks for the link, unfortunately, i have trouble getting it to work. and i can't find anything document for it. some instructions, please?
There is not big deal. Just include("smtp_mail.php") in your script and replace your calls to mail() by smtp_mail(). You may also need to tweak some configuration parameters in the smtp_mail.php script to tell what SMTP server will be used for instance.
also, someone told me before that it's impossible to use mail() on OS X without sendmail.
is it true?
Yes, but that is like with any Unix. You may also use qmail, postfix, etc.. but you always need a mailer program.
--
Regards, Manuel Lemos
Free ready to use OOP components written in PHP http://www.phpclasses.org/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php