ASP and forms

Discussion in 'C#' started by aspnewbie, Nov 1, 2009.

  1. #1
    i am using asp for my frontpage 2003 webpage. i already designed form where user will enter the email add in the textfield when submit button is pressed, a message will be sent to the user email address as indicated in the textfield, how do i do that?

    anyone could help?
     
    aspnewbie, Nov 1, 2009 IP
  2. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    .NET FW provides MailMessage class which represents an e-mail message that can be sent using the SmtpClient class. An example included!
     
    yugolancer, Nov 5, 2009 IP
  3. same

    same Greenhorn

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    MailMessage mail = new MailMessage();
    mail.To.Add("a@gmail.com");
    mail.To.Add("h@yahoo.com");
    mail.From = new MailAddress("gra@gmail.com");
    mail.Subject = "Email";

    string Body = "Hi, "+
    " ASP.NET";
    mail.Body = Body;
     
    same, Nov 18, 2009 IP
  4. charlota

    charlota Peon

    Messages:
    210
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for sharing information ...

    Mybe you you used Smarter Email Hosting or Smarter Mail Features ...
    This application already have been webhostforasp.net ...

    For more information about their services, please visit the website ..
    Windong Hosting provided by ASP.NET with Microsoft License..
     
    charlota, Nov 24, 2009 IP
  5. Indra Kumar

    Indra Kumar Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi, I am ASP developer , i need to do url rewrite wit classic ASP. i don't know anything about it. any help would be appriciated.

    Thanks
    Indra Kumar
     
    Indra Kumar, Nov 24, 2009 IP
  6. nadiralishah_webexpert

    nadiralishah_webexpert Guest

    Messages:
    229
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Classic ASP dont have such a URL rewrite feature..
     
    nadiralishah_webexpert, Feb 6, 2010 IP
  7. rajendra.parmar

    rajendra.parmar Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    above ans is right,


    Rajendra Parmar
    www.webdevelopment-animation.blogspot.com
     
    rajendra.parmar, Feb 18, 2010 IP
  8. chengary

    chengary Banned

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #8
    use MailMessage
     
    chengary, Feb 20, 2010 IP
  9. robertokuykendall

    robertokuykendall Guest

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    just use MailMessage class in c#. just check in MSDN u get more information.
     
    robertokuykendall, Feb 21, 2010 IP