Results 1 to 14 of 14

Thread: Ground Zero Emailing

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    hi, I am at ground ZERO with cgi/perl/asp/similar stuff

    what I am trying to do is to get the user to fill out a survey on my website, and then have the survey be emailed to me. How can I do this?

    By The Way, I am using Microsoft Personal Web sever, so I can run all the scripts, I just don’t know how

    I have previously downloaded a bunch of cgi/perl scripts, but they don’t make any sense to me

    thanks, dimava
    NXSupport - Your one-stop source for computer help

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    This script helped me greatly, it works great, and helpedme to learn a lot about this in ASP.

    http://www.brainjar.com/asp/formmail/

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Microsoft web servers do not support Perl out of the box, you probably should try ASP first. Also, being able to send mail depends on the installation of a mail component. IIS running on NT Server includes CDONTS for handling email, but PWS does not. You are going to have to install a third-party component in order to be able to send mail (unless you can write your own).

    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    thanks Sail3005, but for some reason i'm too stupid to understand it (well it didn't work for me)

    and josh, can you point my in the right direction of a 3rd party software

    thanks
    NXSupport - Your one-stop source for computer help

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Do a search for ASPMail or try looking on ASP sites. I've been using CDONTS as I have IIS running on NT Server at the moment.

    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  6. #6
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    why dont you have javascript run this command:
    email:[email protected]?subject=farfegnugen?placemessagehere.

    My syntax might be a little wrong, since i haven't done this in a while, but basically, if you do this correctly, the user gets a popup message saying that they are sending information yes/no. They click yes, and it gets emailed. Older versions of ie and netscape don't even ask. They just email.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    i want them to fill out a form, and have it emailed to me, I dont want them to have the EMAIl window like open
    NXSupport - Your one-stop source for computer help

  8. #8
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    Does it absolutely have to be email. You can always make a small acess db and dump the info in there. Other than that or the popup email. unless you running nt you wont beable to use cdonts.

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    how can I???????/
    NXSupport - Your one-stop source for computer help

  10. #10
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    you just need to create an access db with whatever info you want on it in a form and then have the forms action goto this page below. you can call it whatever you want just make sure you put in all the request you need for each field and place it in the same order as the fields in your insert statement. If you need anymore help with this, i can help you more through email tonight. My email is [email protected]. The code below will be an asp page with no html in it. The user will never see this page.


    Code:
    <%
    set cn=server.createobject("adodb.connection")
    	cn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=<path to db>\<db file>;Persist Security Info=False"
    	cn.Open
    
    set cmd=server.CreateObject("adodb.command")
    	cmd.ActiveConnection=cn
    
    
    	variable=Request.Form("field name")
    	'repeat this for all the form fields and use the 
                    'variable as values in the insert below
    	
    	cmd.CommandText="INSERT INTO <table name> (<fields seperated by commas) values (" + <value1> + ", '" + <value2> + "', '"... + "')"
    	cmd.Execute
    response.redirect("whatever page you want them to go too")
    %>

  11. #11

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    wnca you please tell me what the code for the FORMs on the htm page might be?

    and what 'column' do I make in MS access?

    thanks


    dimava
    NXSupport - Your one-stop source for computer help

  12. #12
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    Why dont you email me what you need and i'll set it up for you. would be easier and you could see how everything should be setup that way.

  13. #13

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    sure, thanks a lot!!! whats your email?
    NXSupport - Your one-stop source for computer help

  14. #14
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width