Hi,
Is it AIO or distributed deployment?
Anyways, you can test the connectivity for any Node from Admin Tab. Go to System and License Management option, double click the console and go to Emai Server tab. There you can find the hostname or IP of your mail server. Verify that the correct server nail is there. Additionally you can test the connectivity from QRadar to your email server from the same page.
BR,
MBF