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. Send mail with System.Net.Mail

Send mail with System.Net.Mail

Scheduled Pinned Locked Moved ASP.NET
sysadminxmlquestioncsharpasp-net
3 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.
  • P Offline
    P Offline
    Phrone
    wrote on last edited by
    #1

    Hi. First of all I think that I have to let you know that I never made any page in ASP.NET :) We are running a XML based site on the local network and I will create a feedback form with XSL. We have ASP.NET 2.0 running on another network server and I'm thinking of making a script that can send the mail from the form. But I have no idea if this works? How do I catch the data from the form? The form method is POST.

    E 1 Reply Last reply
    0
    • P Phrone

      Hi. First of all I think that I have to let you know that I never made any page in ASP.NET :) We are running a XML based site on the local network and I will create a feedback form with XSL. We have ASP.NET 2.0 running on another network server and I'm thinking of making a script that can send the mail from the form. But I have no idea if this works? How do I catch the data from the form? The form method is POST.

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

      Phrone wrote:

      First of all I think that I have to let you know that I never made any page in ASP.NET

      :sigh: I guess you want to send simple e-mail using .net, try this: http://www.aspheute.com/english/20000918.asp

      We are not a Code Charity

      P 1 Reply Last reply
      0
      • E eyeseetee

        Phrone wrote:

        First of all I think that I have to let you know that I never made any page in ASP.NET

        :sigh: I guess you want to send simple e-mail using .net, try this: http://www.aspheute.com/english/20000918.asp

        We are not a Code Charity

        P Offline
        P Offline
        Phrone
        wrote on last edited by
        #3

        That part is no problem, but I will use System.Net.Mail instead of System.Web.Mail that you linked to. But how do I catch the POST variables in ASP.NET? In PHP I can get them with $_POST['myFormField'] and I suppose that there are some way to get them in ASP.NET (C#) also.

        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