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.
configure an smtp for the local server, and send using PEAR.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.