Hi Venkatesha Gampa Just adding to the Scott's Post, please have a look
at some more links to configure SMTP for AEM.AEM Community Link:-
https://helpx.adobe.com/experience-manager/using/creating-custom-cq-email-services.htmlLink
2:-
http://labs.6dglobal.com/blog/2012-08-20/sending-email-adobe-cq-api/Covering
Create Gmail Account, Set up CQ Mail Service, Download Projects Api Jar,
The Extension, Link 3:-
http://experience-aem.blogspot.in/2015/05/aem-6-sp2-email-team-on-new-project-creation.html
...