Hi,
Please go through the instructions in the below link and try configuring:
1. For Outgoing e-mail profile - msdn.microsoft.com/.../hh550167.aspx
2. For Incoming e-mail profile - msdn.microsoft.com/.../hh550120.aspx
3. For Microsoft Dynamics CRM Deployment - msdn.microsoft.com/.../hh550170.aspx