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. General Programming
  3. C#
  4. Email sending in Win Application

Email sending in Win Application

Scheduled Pinned Locked Moved C#
comhelpquestion
6 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.
  • A Offline
    A Offline
    alimohammed
    wrote on last edited by
    #1

    Hi All, i found an article posted by Mr. Fabian on email sending. http://www.codeproject.com/cs/internet/WinEmailClient.asp#\_\_comments it is working perfectly when i compile this program. But there is a system.web.mail namespace in this windows app, which is not possible to write in my windows appl. but i can use it in his program. Why? Anyone please help me, because i need this program. Ali

    A J 2 Replies Last reply
    0
    • A alimohammed

      Hi All, i found an article posted by Mr. Fabian on email sending. http://www.codeproject.com/cs/internet/WinEmailClient.asp#\_\_comments it is working perfectly when i compile this program. But there is a system.web.mail namespace in this windows app, which is not possible to write in my windows appl. but i can use it in his program. Why? Anyone please help me, because i need this program. Ali

      A Offline
      A Offline
      atuldeore
      wrote on last edited by
      #2

      Could not understand the question. If it is compiling then where is hte problem?

      Every bit counts

      ADD

      A 1 Reply Last reply
      0
      • A atuldeore

        Could not understand the question. If it is compiling then where is hte problem?

        Every bit counts

        ADD

        A Offline
        A Offline
        alimohammed
        wrote on last edited by
        #3

        i will explain... i downloaded the code, saved in a local directory, clicked on .csproject file, and run the program, it works and i could send mail. then i created a new windows app, tried to include system.web.mail namespace in it, but i cant ( when i press ctrl+space after system.web, i get nothing.) but when i press ctrl+space after system.web in his program, i get web.mail. We both have done windows program. Do i need to set anything more?

        A 1 Reply Last reply
        0
        • A alimohammed

          Hi All, i found an article posted by Mr. Fabian on email sending. http://www.codeproject.com/cs/internet/WinEmailClient.asp#\_\_comments it is working perfectly when i compile this program. But there is a system.web.mail namespace in this windows app, which is not possible to write in my windows appl. but i can use it in his program. Why? Anyone please help me, because i need this program. Ali

          J Offline
          J Offline
          Judah Gabriel Himango
          wrote on last edited by
          #4

          Add a reference to System.Web dll, perhaps?

          Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          A 1 Reply Last reply
          0
          • A alimohammed

            i will explain... i downloaded the code, saved in a local directory, clicked on .csproject file, and run the program, it works and i could send mail. then i created a new windows app, tried to include system.web.mail namespace in it, but i cant ( when i press ctrl+space after system.web, i get nothing.) but when i press ctrl+space after system.web in his program, i get web.mail. We both have done windows program. Do i need to set anything more?

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

            You probably are missing reference to System.Web assembly. Go to Solution exporer, veiw the references under the project, if you dont find System.Web listed there, Add it.

            Every bit counts

            ADD

            1 Reply Last reply
            0
            • J Judah Gabriel Himango

              Add a reference to System.Web dll, perhaps?

              Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

              A Offline
              A Offline
              alimohammed
              wrote on last edited by
              #6

              Thanks ADD and judah, it was correct. i am just a fresher in .net. Thanks again. bye

              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