How to configure SMTP With Check authentication and credentials

Hello Sir/Madam

How to configure SMTP for send mail in local host and server
Can you please give me steps for configure the SMTP and also check the authentication for that.

Thanks,
Bhavik Shah