Could not send mail from server to company mail id

I am trying to send outlook mail message from UI Path. Ui Path is installed in test server. There are no outlook in server. So i am getting the below error:
message":“Send Outlook Mail Message : Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).”,“level”:“Error”,
If I try this feature in local network where outlook is present,it is working fine.
Please let me know how can I send mail from server to some company mail id?In server no outlook option is present.

Hello @Arindam

Hope this could help you:

Best Regards,
Susana