compile sendmail? :|
I created a php site that can send mail using <?php mail($to,$subject,$message,$header);?>
This was developed on my mac running 10.3 and Postfix Enabler and runs fine. But now I have transfered it it my server running 10.3 SERVER and it will not send mail? Postfix Enabler is not compatible with OSX server, so how do I get it to send mail
Apple user since about OS6
compile sendmail? :|
OKOriginally Posted by andehlu
1. How do I do This?
2. Will this effect the mail server running on the same Machine?
Apple user since about OS6
oh it has a mail server running? which one? just use that.... check yer php.ini is set to localhost for smtp... should work...
I'm Running the mailserver built into OSX server.
my php.ini file states the following:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
Is this correct? Should I define the path for sendmail
To recap. I'm running 10.3 Server. the mailserver works fine but a php site using mail() will not send mail. This same site on a mac running 10.3 ( standard ) works fine!!!
Apple user since about OS6
Thanks andehlu
this sorted it.
Thanks again!!
Apple user since about OS6
Bookmarks