Re: Re: Mail() on OS X

From: Date: Mon, 02 Jun 2003 05:38:56 +0000
Subject: Re: Re: Mail() on OS X
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-28215@lists.php.net to get a copy of this message
Hello, 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/

« previous php.db (#28215) next »