How does PHP mail work?
-
- Posts: 23
- Joined: Tue Jul 05, 2016 9:37 am
- Contact:
How does PHP mail work?
please explain this.
Re: How does PHP mail work?
The operation of the mail function depends on the OS you're using. If you're running on Windows then you need to configure an SMTP relay in your php.ini file. If your OS is some variant of Unix or Linux your php.ini will specify the path to the Send mail executable, or an executable that can respond in the same way as send mail. In an IT context, globally you call the mail () function, provide the function with the sender and receiver email address, the actual content you want, and some optional SMTP headers. The function will then look up the address of the mail server indicated in the php.ini configuration file, and open a network connection to that server.
Contact Number : 1800-212-2022
Sales: sales@computehost.com
Links To Our Service Pages:
Cloud Hosting India | Dedicated Server Hosting
Sales: sales@computehost.com
Links To Our Service Pages:
Cloud Hosting India | Dedicated Server Hosting
Return to “General Web Hosting Discussions”
Who is online
Users browsing this forum: No registered users and 1 guest