Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.NET 2003 Mail Problem

ASP.NET 2003 Mail Problem

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-netcomhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Virendrak
    wrote on last edited by
    #1

    MailMessage mm = new MailMessage(); mm.To = txt_Email.Value.Trim(); mm.Priority = MailPriority.High; mm.From = "mycompname@mydomain.com"; mm.Subject = "Hi "+ txt_FirstName.Value.Trim() +" , Thank you for registering."; mm.BodyFormat = MailFormat.Html; mm.Body = sbMail.ToString(); But this is not working for yahoo.com,co.uk, and Rediffmail.com.rediff.com. the mail is bouncing back and in yahoo goin in bulk /Spam Folder.

    Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

    N J 2 Replies Last reply
    0
    • V Virendrak

      MailMessage mm = new MailMessage(); mm.To = txt_Email.Value.Trim(); mm.Priority = MailPriority.High; mm.From = "mycompname@mydomain.com"; mm.Subject = "Hi "+ txt_FirstName.Value.Trim() +" , Thank you for registering."; mm.BodyFormat = MailFormat.Html; mm.Body = sbMail.ToString(); But this is not working for yahoo.com,co.uk, and Rediffmail.com.rediff.com. the mail is bouncing back and in yahoo goin in bulk /Spam Folder.

      Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Which is your SMTP server ? Is it "localhost" ? Try authenticating your SMTP server before you send. Check this[^]

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      V 1 Reply Last reply
      0
      • N N a v a n e e t h

        Which is your SMTP server ? Is it "localhost" ? Try authenticating your SMTP server before you send. Check this[^]

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        V Offline
        V Offline
        Virendrak
        wrote on last edited by
        #3

        There is no code... its not working....

        Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

        1 Reply Last reply
        0
        • V Virendrak

          MailMessage mm = new MailMessage(); mm.To = txt_Email.Value.Trim(); mm.Priority = MailPriority.High; mm.From = "mycompname@mydomain.com"; mm.Subject = "Hi "+ txt_FirstName.Value.Trim() +" , Thank you for registering."; mm.BodyFormat = MailFormat.Html; mm.Body = sbMail.ToString(); But this is not working for yahoo.com,co.uk, and Rediffmail.com.rediff.com. the mail is bouncing back and in yahoo goin in bulk /Spam Folder.

          Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...

          J Offline
          J Offline
          Justin Perez
          wrote on last edited by
          #4

          ViReNdrA KuMaR KoHli wrote:

          mm.From = "mycompname@mydomain.com";

          Please tell me you are actually replacing that line with a valid SMTP server. If it's bouncing back it's because you don't have access to the SMTP server. If is's public mail that's probavly because it doesn't support it. As for the yahoo, if it's going in the spam folder... well than it is working.

          I'm going to become rich when I create a device that allows me to punch people in the face over the internet. "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups