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. Who to send DATA to email..???

Who to send DATA to email..???

Scheduled Pinned Locked Moved ASP.NET
databasequestioncsharpasp-netcom
5 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.
  • A Offline
    A Offline
    ankur0101
    wrote on last edited by
    #1

    Im a learner in ASP.Net Im creating 1 project in class. Her is the querry............. I gott 2 textboxes viz. textbox1 , textbox2 im having submit button & reset button I know how to send the data entered in textboxes to SQL database but i dont know how can i send that data to specific email ID.... I want to send that data to email ID like..... abcname@emailserviceprovider.com PLease help me to solve this querry....... plz :^):^):^):^):^):^):^)

    P M 2 Replies Last reply
    0
    • A ankur0101

      Im a learner in ASP.Net Im creating 1 project in class. Her is the querry............. I gott 2 textboxes viz. textbox1 , textbox2 im having submit button & reset button I know how to send the data entered in textboxes to SQL database but i dont know how can i send that data to specific email ID.... I want to send that data to email ID like..... abcname@emailserviceprovider.com PLease help me to solve this querry....... plz :^):^):^):^):^):^):^)

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      Look at the System.Net.Mail.SmtpClient[^] class.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      1 Reply Last reply
      0
      • A ankur0101

        Im a learner in ASP.Net Im creating 1 project in class. Her is the querry............. I gott 2 textboxes viz. textbox1 , textbox2 im having submit button & reset button I know how to send the data entered in textboxes to SQL database but i dont know how can i send that data to specific email ID.... I want to send that data to email ID like..... abcname@emailserviceprovider.com PLease help me to solve this querry....... plz :^):^):^):^):^):^):^)

        M Offline
        M Offline
        Michael Sync
        wrote on last edited by
        #3

        Hi Ankur, You should note that System.Net.Mail namespace (the one pmarfleet suggested) is for ASP.NET 2.0. If you are learning ASP.NET 1.1, you should use System.Web.Mail. Another thing you should know is that if your Email Server is in LAN, you won't be able to send to the other email addresses ( e.g. GMail or Yahoo or etc.. ) You may probably know about this but I'm telling you again cuz a lot of beginners used to try to send the mail to public email address from local email server.. :)

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

        L 1 Reply Last reply
        0
        • M Michael Sync

          Hi Ankur, You should note that System.Net.Mail namespace (the one pmarfleet suggested) is for ASP.NET 2.0. If you are learning ASP.NET 1.1, you should use System.Web.Mail. Another thing you should know is that if your Email Server is in LAN, you won't be able to send to the other email addresses ( e.g. GMail or Yahoo or etc.. ) You may probably know about this but I'm telling you again cuz a lot of beginners used to try to send the mail to public email address from local email server.. :)

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I Have LAN And coud send email. Only i have to set virtual servers in Router Configuration. Oh, and you can send email using any smtp server like google if you have correctly configure ports, name and encryption. PS: GMail smtp server uses encryption. PS2: SMTP Server delivers to specific email address. Even if you are using google smtp and deliver mail to yahoo -- modified at 10:49 Saturday 17th November, 2007

          A 1 Reply Last reply
          0
          • L Lost User

            I Have LAN And coud send email. Only i have to set virtual servers in Router Configuration. Oh, and you can send email using any smtp server like google if you have correctly configure ports, name and encryption. PS: GMail smtp server uses encryption. PS2: SMTP Server delivers to specific email address. Even if you are using google smtp and deliver mail to yahoo -- modified at 10:49 Saturday 17th November, 2007

            A Offline
            A Offline
            ankur0101
            wrote on last edited by
            #5

            Thanks *sorry by mistake it was "Who" Actually i wanna type how:laugh::laugh::laugh:

            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