Create subdomain like “mg.example.com” through Cpanel
Create Email Account i.e “email@example.com” through Cpanel and note its password.
Login to Mailgun Add New Domain (i.e subdomain).
Add SubDomain that created through Cpanel (i.e mg.example.com).
Login to CloudFlare and Search Specific site in Search box.
Next Click on DNS
Click on DNS taking screenshots of all setting and then Add TXT , CNAME and MX entries in CloudFlare DNS value taking from Mailgun where We add domain and click on Add Domain then generate TXT , CNAME , MX value.
Then Install Mailgun Plugin
Mailgun Plugin Configuration setting
API Key taking from mailgun
Next Clicking On API Security
Copy The API Key
1-Enter Mailgun Domain Name: mg.example.com
2-Enter API Key.
3-Enter From Address (Email i.e firstname.lastname@example.org)
NOTE : Test Contact Form wherever its implemented on site in Test mode, means change emails have a test screenshot and revert back Emails.