E-mail processing form in ASP


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: E-mail processing form in ASP

  1. #1
    CS Guest

    E-mail processing form in ASP


    Is there a way in ASP to process a form to e-mail like you can in CGI and
    how to do it.

    Thanks

  2. #2
    js Guest

    Re: E-mail processing form in ASP


    Yeah, there are third party IIS Extensions such as ASPeMail
    http://www.aspemail.com/ which is a 30-day trial, but there are other free
    ones out there...


    "CS" <mail@cybersparks.karoo.co.uk> wrote:
    >
    >Is there a way in ASP to process a form to e-mail like you can in CGI and
    >how to do it.
    >
    >Thanks



  3. #3
    Guest

    Re: E-mail processing form in ASP


    "js" <jakesmsu@hotmail.com> wrote:
    >
    >Yeah, there are third party IIS Extensions such as ASPeMail
    >http://www.aspemail.com/ which is a 30-day trial, but there are other free
    >ones out there...
    >
    >
    >"CS" <mail@cybersparks.karoo.co.uk> wrote:
    >>
    >>Is there a way in ASP to process a form to e-mail like you can in CGI and
    >>how to do it.
    >>
    >>Thanks

    >



  4. #4
    Michael Guest

    Re: E-mail processing form in ASP


    IIS and PWS both have a component called CDONTS.
    You can send email from your ASP web pages with no extra installs or configuration.
    Sample...
    <%
    dim mailObj, usersEmail, bodyText, subjectLine

    set mailObj = server.createObject("cdonts.newmail")
    userEmail = request.form("email")
    subjectLine = "Test Email From ASP"

    bodyText = "This is a test Email" & vbCrLf
    bodyText = bodyText & "This was processed with CDO." & vbCrLf
    bodyText = bodyText & vbCrLf
    bodyText = bodyText & "Good bye!"

    mailObj.from = usersEmail
    mailObj.to = "TestMail<name@domain.com>"
    mailObj.subject = subjectLine
    mailObj.body = bodyText

    mailObj.send

    set mailObj = nothing
    %>



    "CS" <mail@cybersparks.karoo.co.uk> wrote:
    >
    >Is there a way in ASP to process a form to e-mail like you can in CGI and
    >how to do it.
    >
    >Thanks



  5. #5
    JS Guest

    Re: E-mail processing form in ASP


    True, you can CDONTS but only if your web server is also your mail server

    "CS" <mail@cybersparks.karoo.co.uk> wrote:
    >
    >Is there a way in ASP to process a form to e-mail like you can in CGI and
    >how to do it.
    >
    >Thanks



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center