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. mailing concepts

mailing concepts

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdesigntutorial
8 Posts 4 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.
  • R Offline
    R Offline
    Reethika
    wrote on last edited by
    #1

    Plz explain in detail how to design and develop a mail in asp.net with vb

    V E A 3 Replies Last reply
    0
    • R Reethika

      Plz explain in detail how to design and develop a mail in asp.net with vb

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Two namespaces: 1) System.Web.Mail 2) System.Net.Mail

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

      1 Reply Last reply
      0
      • R Reethika

        Plz explain in detail how to design and develop a mail in asp.net with vb

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

        google asp.net e-mail and you will quickly find lots of articles

        1 Reply Last reply
        0
        • R Reethika

          Plz explain in detail how to design and develop a mail in asp.net with vb

          A Offline
          A Offline
          Ashish Sehajpal
          wrote on last edited by
          #4

          dim MyMsg as new MailMessage() MyMsg.From = new MailAddress("myadmin@domainname.com", "My Admin") MyMsg.To.Add(new MailAddress("a.sehajpal@gmail.com")) MyMsg.Bcc.Add(new MailAddress("ashish_sehajpal@yahoo.com")) MyMsg.Subject = "My Reports" MyMsg.Attachments.Add(new Attachment(Server.MapPath("folder/sendReport.doc"))) MyMsg.IsBodyHtml = true MyMsg.Body = "<html><body>Find The Attached Reports</body></html>" try SmtpClient client = new SmtpClient() client.Host = "mail.domainname.com" client.Send(MyMsg) catch ex as exception ' do something useful here end try :-D

          Ashish Sehajpal

          V 1 Reply Last reply
          0
          • A Ashish Sehajpal

            dim MyMsg as new MailMessage() MyMsg.From = new MailAddress("myadmin@domainname.com", "My Admin") MyMsg.To.Add(new MailAddress("a.sehajpal@gmail.com")) MyMsg.Bcc.Add(new MailAddress("ashish_sehajpal@yahoo.com")) MyMsg.Subject = "My Reports" MyMsg.Attachments.Add(new Attachment(Server.MapPath("folder/sendReport.doc"))) MyMsg.IsBodyHtml = true MyMsg.Body = "<html><body>Find The Attached Reports</body></html>" try SmtpClient client = new SmtpClient() client.Host = "mail.domainname.com" client.Send(MyMsg) catch ex as exception ' do something useful here end try :-D

            Ashish Sehajpal

            V Offline
            V Offline
            Vasudevan Deepak Kumar
            wrote on last edited by
            #5

            You went ahead and spoilt a developer from doing his homework.

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

            A 1 Reply Last reply
            0
            • V Vasudevan Deepak Kumar

              You went ahead and spoilt a developer from doing his homework.

              Vasudevan Deepak Kumar Personal Homepage
              Tech Gossips
              A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

              A Offline
              A Offline
              Ashish Sehajpal
              wrote on last edited by
              #6

              then what is problem in ur stomach?

              Ashish Sehajpal

              E 1 Reply Last reply
              0
              • A Ashish Sehajpal

                then what is problem in ur stomach?

                Ashish Sehajpal

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

                huh?

                A 1 Reply Last reply
                0
                • E eyeseetee

                  huh?

                  A Offline
                  A Offline
                  Ashish Sehajpal
                  wrote on last edited by
                  #8

                  what was that?:confused:

                  Ashish Sehajpal

                  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