Mx record is the type of DNS record which is known as Mail Exchanger.MX record is resposible to send and recieve the the mail.
The MX record st to point canonical hostname. the hostname has another record which is known as “A(Address)” record.the A record of server is handling the email for your domain.
you can see there is multiple MX records which is work on priority which we will have to set on our host.when mail will first of it will check for lowest priority.if that server does not
respond,it will go to next.
Now we will see how to add mx record into cpanel: