Hey mate,
I could fix this issue with changing the SAPGUI options correctly.
Ensure to provide the meesage server details in the SAPGUI logon.
also check if your gateway is running properly and check the logs in smgw or in dev_rd trace file.
Good luck!
Omkar