I have a local network in the company with a mail server, how can i make php application built locally on the server to send and email to a local email address?
thanks in advance
I have a local network in the company with a mail server, how can i make php application built locally on the server to send and email to a local email address?
thanks in advance
Just send it with the mail function. It's up to the system administrator to configure the MTA properly. In your example the MTA on the server would be configured to deliver mail for certain addresses locally instead of sending them out to the Internet.