Link to home
Start Free TrialLog in
Avatar of matthewyea
matthewyea

asked on

Urgent Help needed with PHP mail function

Hello, Experts.

I recently bought a linux based dedicated server for my project and I am experiencing very wierd problem with PHP mail function.

Using the PHP mail() function, I can only send mails to someone@mydomain.com successfully.  When I tried to send mails outside mydomain.com address, nothing happens.
Current mail setting in the php.ini is (which is located in \etc\php.ini folder).  Should I change something else in my domain directory or something else?

Thanks for your help.

[mail function]
; For Win32 only.
SMTP = localhost

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
ASKER CERTIFIED SOLUTION
Avatar of philjones85
philjones85
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial