Iam able to send mail with gmail credential in send mail application using c#.
But while sending mail with my host details iam not able to send mail.
Just i replaced gmail details with my host provider details but iam getting error--
The remote certificate is invalid according to the validation procedure.
when i changed enableSsl property to false..iam able to send but the mail is in spam box. what is the logic behind.pls explain.