I tried configuring the settings of the IIS Manager and still, it won't work, I have checked the php.ini file of IIS and still no luck.
I also have tried using the WP-Mail-SMTP plugin, still, no luck was found and an error shows up, it looks like this.
""The following From address failed: wordpress@test2 : MAIL FROM command failed,550,The address is not valid."
I am deploying Wordpress at an IIS / Windows Server.
Thanks in Advance.