Re: Re: Mail() on OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

Tony S. Wu
tonyswu@mac.com

"The world doesn't give us hope - it gives us chance."
http://homepage.mac.com/tonyswu/tonyswu    - My web page.

On Sunday, June 1, 2003, at 08:15 PM, Manuel Lemos wrote:

Hello,

On 06/01/2003 11:55 PM, Tony Wu wrote:
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




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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux