how can i create an email form

Posted on 2006-06-04
Last Modified: 2012-05-05
I would like to create an email form for a website. Where the visitor types in the information. In special slots such as i.e. name, address, and age and so on. Then hits submit and then the information he has entered will be sent via email to a specified address.ess
Question by:Eaddy
    LVL 30

    Expert Comment

    are you writing ASP?
    LVL 30

    Accepted Solution

    If you have IIS with ASP

    Use the CDO_NTS services...

    Here is some sample coding for you...

    Dim objCDO
    Set objCDO = Server.CreateObject("CDONTS.NewMail")
    objCDO.To = ""
    objCDO.From = "" = ""
    Dim txtSubject
    txtSubject = "Test message"
    objCDO.Subject = "this is ASP code email"
    objCDO.Body = txtSubject

    A commercial product is here
    LVL 25

    Expert Comment

    One thing to add here, if you are using ASP.NET, server nowadays do not allow you to specify a FROM address that is not a genuine registered email address on the server.   This is to stop you sending emails from 'fake' addresses.   Therefore be sure to check what the options are from your web host before you start to write your code.
    LVL 6

    Assisted Solution

    Try this site. It does all the work for you.
    LVL 70

    Expert Comment

    by:Jason C. Levine
    Or you can download any one of a number of extensions from the Exchange that will help you do this.  

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
    Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video discusses moving either the default database or any database to a new volume.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now