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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to send mail with out spam

how to send mail with out spam

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomtutorial
7 Posts 2 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.
  • S Offline
    S Offline
    sugunavathysubramanian
    wrote on last edited by
    #1

    hai, how to send mail with out spam.i am using the code in href="http://www.codeproject.com/KB/aspnet/SivaEMailSample.aspx". i am using .net with c#.if you know the answer or idea replay to me.. thank you.

    E 1 Reply Last reply
    0
    • S sugunavathysubramanian

      hai, how to send mail with out spam.i am using the code in href="http://www.codeproject.com/KB/aspnet/SivaEMailSample.aspx". i am using .net with c#.if you know the answer or idea replay to me.. thank you.

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      What do you mean send e-mail without spam? Why do you think spam is being sent, the tutorial just teaches you how to send e-mail

      S 1 Reply Last reply
      0
      • E eyeseetee

        What do you mean send e-mail without spam? Why do you think spam is being sent, the tutorial just teaches you how to send e-mail

        S Offline
        S Offline
        sugunavathysubramanian
        wrote on last edited by
        #3

        hai, thanks for your replay.i use the code, MailMessage mailMessage = new MailMessage(); mailMessage.From = txtSender.Text; mailMessage.To = txtReceiver.Text; mailMessage.Cc = txtCc.Text; mailMessage.Bcc = txtBcc.Text; mailMessage.Subject = txtSubject.Text; mailMessage.Body = txtBody.Text; mailMessage.Priority = MailPriority.High; /* Set the properties of the MailMessage to the values on the form */ if (rblMailFormat.SelectedItem.Text == "Text") mailMessage.BodyFormat = MailFormat.Text; else mailMessage.BodyFormat = MailFormat.Html; /* Set the SMTP server and send the email with attachment */ // SmtpMail.SmtpServer = "127.0.0.1"; SmtpMail.SmtpServer.Insert(0, "127.0.0.1"); SmtpMail.Send(mailMessage); this mail is going to spam.tell me, how to send mail in inpox. thank you.

        E 1 Reply Last reply
        0
        • S sugunavathysubramanian

          hai, thanks for your replay.i use the code, MailMessage mailMessage = new MailMessage(); mailMessage.From = txtSender.Text; mailMessage.To = txtReceiver.Text; mailMessage.Cc = txtCc.Text; mailMessage.Bcc = txtBcc.Text; mailMessage.Subject = txtSubject.Text; mailMessage.Body = txtBody.Text; mailMessage.Priority = MailPriority.High; /* Set the properties of the MailMessage to the values on the form */ if (rblMailFormat.SelectedItem.Text == "Text") mailMessage.BodyFormat = MailFormat.Text; else mailMessage.BodyFormat = MailFormat.Html; /* Set the SMTP server and send the email with attachment */ // SmtpMail.SmtpServer = "127.0.0.1"; SmtpMail.SmtpServer.Insert(0, "127.0.0.1"); SmtpMail.Send(mailMessage); this mail is going to spam.tell me, how to send mail in inpox. thank you.

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          Have you checked to see if the e-mails go into your spam box in other e-mail accounts. Might just be the one you are using. On mine the code above works fine

          S 1 Reply Last reply
          0
          • E eyeseetee

            Have you checked to see if the e-mails go into your spam box in other e-mail accounts. Might just be the one you are using. On mine the code above works fine

            S Offline
            S Offline
            sugunavathysubramanian
            wrote on last edited by
            #5

            hai, thank you for your replay.are check my code?.mail go to inbox?. replay to me..

            E 1 Reply Last reply
            0
            • S sugunavathysubramanian

              hai, thank you for your replay.are check my code?.mail go to inbox?. replay to me..

              E Offline
              E Offline
              eyeseetee
              wrote on last edited by
              #6

              You can have several e-mail accounts yeah, hotmail, yahoo etc Check if the e-mail goes into any of the other spam boxes

              S 1 Reply Last reply
              0
              • E eyeseetee

                You can have several e-mail accounts yeah, hotmail, yahoo etc Check if the e-mail goes into any of the other spam boxes

                S Offline
                S Offline
                sugunavathysubramanian
                wrote on last edited by
                #7

                thank you so much.it work fine..

                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