while sending mail iam getting error ---The remote certificate is invalid according to the validatio

Posted by Arunkumaratp under ASP.NET on 8/1/2012 | Points: 10 | Views : 2201 | Status : [Member] | Replies : 2
Hi,
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.

thankyou
arun




Responses

Posted by: Rajkatie on: 8/2/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Kindly refer following links
http://stackoverflow.com/questions/1886133/restricting-email-to-not-sent-in-junk-folder-and-can-it-possible-from-email-hide

http://stackoverflow.com/questions/5042309/email-messages-going-to-spam-folder

Rajesh Patel
.Net Trainer(MSCD | MCT | MS)
Brainbench (Asp.Net 4.5 and C# 5.0)

Arunkumaratp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Arunkumaratp on: 8/7/2012 [Member] Starter | Points: 25

Up
0
Down

hi rajesh..thankyou so much for the reply. I know different ISPs follow different algorithms for filtering spam mails.

i would like to know why iam able to send mail when i made false of enableSsl property. If i made it true i cannot send mail.

why ,..please explain in detail.

thanks in advance



Arunkumaratp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response