Sending mails using cpanel and smtp

Don’t use mail.yourdomain.com but server1.hostingprovider.com instead.