how to send email

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Newbie

    #1

    how to send email

    i have a c# asp.net webform with 2 textboxes and a button. the user enters
    the email address and the message in the 2 textboxes and clicks the button to
    send the email. no email program should appear in a popup window. how do i
    implement this? pls. help & thanks in advance.
  • Morten Wennevik

    #2
    Re: how to send email

    Hi,

    Take a look at the SmtpMail class, SmtpMail.SmtpSe rver and SmtpMail.Send()

    On Thu, 12 May 2005 20:48:04 +0200, Newbie <Newbie@discuss ions.microsoft. com> wrote:
    [color=blue]
    > i have a c# asp.net webform with 2 textboxes and a button. the user enters
    > the email address and the message in the 2 textboxes and clicks the button to
    > send the email. no email program should appear in a popup window. how do i
    > implement this? pls. help & thanks in advance.
    >[/color]



    --
    Happy coding!
    Morten Wennevik [C# MVP]

    Comment

    • W.G. Ryan eMVP

      #3
      Re: how to send email



      --
      W.G. Ryan, MVP

      www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
      "Newbie" <Newbie@discuss ions.microsoft. com> wrote in message
      news:00501565-F23D-44FF-93BF-CA726216D69B@mi crosoft.com...[color=blue]
      > i have a c# asp.net webform with 2 textboxes and a button. the user enters
      > the email address and the message in the 2 textboxes and clicks the button[/color]
      to[color=blue]
      > send the email. no email program should appear in a popup window. how do i
      > implement this? pls. help & thanks in advance.[/color]


      Comment

      • Alan Pretre

        #4
        Re: how to send email

        "Newbie" <Newbie@discuss ions.microsoft. com> wrote in message
        news:00501565-F23D-44FF-93BF-CA726216D69B@mi crosoft.com...[color=blue]
        >i have a c# asp.net webform with 2 textboxes and a button. the user enters
        > the email address and the message in the 2 textboxes and clicks the button
        > to
        > send the email. no email program should appear in a popup window. how do i
        > implement this? pls. help & thanks in advance.[/color]

        Hi. See the System.Web.Mail namespace:

        http://msdn.microsoft.com/library/de...temwebmail.asp

        -- Alan


        Comment

        • Carlos J. Quintero [.NET MVP]

          #5
          Re: how to send email



          --

          Best regards,

          Carlos J. Quintero

          MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
          You can code, design and document much faster.
          Free resources for add-in developers:
          MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.


          "Newbie" <Newbie@discuss ions.microsoft. com> escribió en el mensaje
          news:00501565-F23D-44FF-93BF-CA726216D69B@mi crosoft.com...[color=blue]
          >i have a c# asp.net webform with 2 textboxes and a button. the user enters
          > the email address and the message in the 2 textboxes and clicks the button
          > to
          > send the email. no email program should appear in a popup window. how do i
          > implement this? pls. help & thanks in advance.[/color]


          Comment

          Working...