I am trying to send emails using mail($to,$subject$msg,$header).
This is working fine for email addresses within our domain but when i try to send an email to an external email address it fails.
The php engine and webserver (IIS 6.0) currently reside on the same server as our email server (Exchange 2003). Do i have to change specfic settings in my php.ini?? I am obviously running php etc within a windows environment so i dont have the ability to recompile php to suit the server.
the entries in my php.ini
[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only
smtp_port = 25
sendmail_from= ; for Win32 only
; 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 =
???????