MX Records (Mail Exchange) are DNS records that are used to route email to email servers. You can have numerous MX Records posting to different email servers to prevent loss of email due to downtime. Email is sent to servers pointed to in MX records based on Priority which states that the lowest the Priority number the higher the priority of the server. Emails will be routed to MX records of 0 first.
You can send emails directly from PHP scripts using the mail() function. You need to have a local email server setup to do this, to to learn it’s best to use a shared hosting account […]
VPS , Virtual Private Servers, are simply virtual servers that are hosted by vendors such as Linode and Digital Ocean.