Thanks a lot for all the reply . Is it mandatory to give tls_cert in .msmtprc. where i can get the certificates ?where i have to store in rhel6 ?Is it possible to send to gmail without these certificate? I set authentication as ON and tls_nocertcheck still i am not able to send mail from command prompt . How i can proceed further ???