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. Smtp server?

Smtp server?

Scheduled Pinned Locked Moved ASP.NET
csharpsysadmintutorialquestion
9 Posts 6 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.
  • K Offline
    K Offline
    Karthick_gc
    wrote on last edited by
    #1

    I wrote a code for sending mail in C#.net . One of the input control is asking for the Smtp server?. How to find the value for Smtp server and what to fill in that control?

    S A M V 4 Replies Last reply
    0
    • K Karthick_gc

      I wrote a code for sending mail in C#.net . One of the input control is asking for the Smtp server?. How to find the value for Smtp server and what to fill in that control?

      S Offline
      S Offline
      Sneha Bisht
      wrote on last edited by
      #2

      In webConfig file .

      K 1 Reply Last reply
      0
      • K Karthick_gc

        I wrote a code for sending mail in C#.net . One of the input control is asking for the Smtp server?. How to find the value for Smtp server and what to fill in that control?

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        use your own smtp server name in there. ex : smtp.google.com replace with your server name

        Abhishek Sur

        1 Reply Last reply
        0
        • S Sneha Bisht

          In webConfig file .

          K Offline
          K Offline
          Karthick_gc
          wrote on last edited by
          #4

          Can't find there !!

          1 Reply Last reply
          0
          • K Karthick_gc

            I wrote a code for sending mail in C#.net . One of the input control is asking for the Smtp server?. How to find the value for Smtp server and what to fill in that control?

            M Offline
            M Offline
            Manas Bhardwaj
            wrote on last edited by
            #5

            Karthick_gc wrote:

            One of the input control is asking for the Smtp server?.

            Did you ever heard that there is a difference between a control and property? :wtf:

            Karthick_gc wrote:

            How to find the value for Smtp server and what to fill in that control?

            Do you have any any idea what a SMTP Server is? If you have a machine with SMTP Server configured, specify the nsame of that machine or its IP address.

            Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

            K 1 Reply Last reply
            0
            • M Manas Bhardwaj

              Karthick_gc wrote:

              One of the input control is asking for the Smtp server?.

              Did you ever heard that there is a difference between a control and property? :wtf:

              Karthick_gc wrote:

              How to find the value for Smtp server and what to fill in that control?

              Do you have any any idea what a SMTP Server is? If you have a machine with SMTP Server configured, specify the nsame of that machine or its IP address.

              Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

              K Offline
              K Offline
              Karthick_gc
              wrote on last edited by
              #6

              S. i specified the IP address. But an error message is coming?

              M A 2 Replies Last reply
              0
              • K Karthick_gc

                S. i specified the IP address. But an error message is coming?

                M Offline
                M Offline
                Manas Bhardwaj
                wrote on last edited by
                #7

                Karthick_gc wrote:

                But an error message is coming?

                What kinda error message are you getting? :confused:

                Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

                1 Reply Last reply
                0
                • K Karthick_gc

                  S. i specified the IP address. But an error message is coming?

                  A Offline
                  A Offline
                  Abhijit Jana
                  wrote on last edited by
                  #8

                  First Configure The SMTP Server in IIS. Read this article Configure SMTP in IIS[^] After successfully installation, it use the smtp server name in you code. If you want to use some other SMTP Server, user there SMTP IP Address or SMTP Server Name. Good Luck.

                  cheers, Abhijit CodeProject MVP My Recent Article : Exploring Session in ASP.Net

                  1 Reply Last reply
                  0
                  • K Karthick_gc

                    I wrote a code for sending mail in C#.net . One of the input control is asking for the Smtp server?. How to find the value for Smtp server and what to fill in that control?

                    V Offline
                    V Offline
                    varma suresh
                    wrote on last edited by
                    #9

                    hi.. Write Your IP address..or System name To Know IP Address 1) click START button 2)click on RUN 3)type cmd 4) type ipconfig hope this will help you

                    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