2 Replies - 566 Views - Last Post: 03 January 2010 - 04:32 AM Rate Topic: -----

#1 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Email goes in spam from yahoo

Posted 02 January 2010 - 01:42 PM

Hi guys,
I have this script which is sending email to yahoo but in spam in folder
            try
            {
                SmtpClient smtpClient = new SmtpClient("smtp.mail.yahoo.com", 587);
                smtpClient.Credentials = new NetworkCredential("email@yahoo.com", "*****");
                
                MailAddress  mailAddress = new MailMessage();
                mailAddress.From = new MailAddress("email@yahoo.com");
                mailAddress.To.Add("email@yahoo.com");
                mailAddress.Subject = "Test mail";
                mailAddress.Body = "test body";
                smtpClient.Send(mailAddress);
                Console.WriteLine("Mail sent");
                Console.Read();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Console.ReadLine();
            }



any help would be appreciate :)

Is This A Good Question/Topic? 0
  • +

Replies To: Email goes in spam from yahoo

#2 QuackWare  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 10
  • Joined: 02-January 10

Re: Email goes in spam from yahoo

Posted 02 January 2010 - 04:29 PM

Did a little searching and found an article which should help you out.

http://www.andreas-k...-systemnetmail/
Was This Post Helpful? 1
  • +
  • -

#3 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Email goes in spam from yahoo

Posted 03 January 2010 - 04:32 AM

thanks for the link, I will reply the result after reading the article :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1