Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
I have coded to send a mail from my asp.net application with a pdf attachment (size of pdf file is 30 KB). When sending the mail, the mail goes to junk folder in outlook, but if I open the same mail as gmail, it is in the Inbox itself.
Posted
Comments
sahabiswarup 20-Jan-14 1:07am    
add this attribute and try once
mail.IsBodyHtml = true;
mail.Priority = MailPriority.High;
Richard MacCutchan 20-Jan-14 5:18am    
Check your junk filters in Outlook, or add the sender id to your trusted user list.
pololkmhjfghfgfgf 21-Jan-14 5:48am    
Thanks for ur reply. But here im sending mails to my client
Richard MacCutchan 21-Jan-14 5:51am    
Then tell your client to check their junk settings. You cannot fix this from the mail sending program.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900