Mailing problem in C# dotnet 2.0
Hi All,
I have written code to send emails using the SmtpClent class
object as shown below.
SmtpClient client = new SmtpClient();
client.Send(email);
where 'email' is object of
MailMessage email = new MailMessage(XXXXXX...)
Now the problem is mails are going fine but it is going to Junk mails folder rather than Inbox folder in Outlook 2003.
Can any one plz help me out what is the problem & how could it be resolved.
Is there any settings that i should change in my code to make my mails go to inbox.
|