Hi,
Please check these links:
Message cannot be transferred to node SMTP due to connection error(final)
Generic Method for Sending Mails from SAP Systems
For authentication purpose we have to activate the IIS SMTP server on the server.
Regards
Sudhir Sadhu