Results 1 to 4 of 4

Thread: cgi help

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    tehran,iran
    Posts
    53

    Unhappy

    Hi,
    Can i send a form information
    in web pages to an email address ?
    <form action="...">
    </form>

    if set <action> to email address it cause the default
    email program to run .
    no how can send information directly to my mail server
    also i found some source that worked with exchange server
    but I want to send information vai smtp or another way that
    i can .

    can anyone help me or tell me a resource site
    for this .
    I really need information about this.


    thanx




  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554

    Lightbulb

    I think the bits you are after are:

    <input type=HIDDEN name="recipient" value="[email protected]">

    <input type=HIDDEN name="subject" value="Registration Application">

    <input type=HIDDEN name="email" value="[email protected]">

    <input type=HIDDEN name="realname" value="Web Response">

    <input type=HIDDEN name="redirect" value="http://home.clara.net/doczaf/givethanx1.htm">

    <input type=HIDDEN name="from" value="Registration Page<[email protected]>">

    <input type=HIDDEN name="missing_fields_redirect" value="http://home.clara.net/doczaf/regerror.htm">

    <INPUT TYPE=HIDDEN NAME="required" VALUE="txtFirstName, txtLastName, txtPrefName, txtEMail">


    And you can see it in action at:

    http://home.clara.net/doczaf/registration.htm


    and stop laughing, as one day soon i'll have my domain, but until then.......

    DocZaf
    {;->

    [Edited by Zaf Khan on 04-12-2000 at 09:06 PM]

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    tehran,iran
    Posts
    53
    thanx,
    I read your full source code at your site but
    these are only forms and not work alone.
    as you know you used <action=/cgi-bin/formmail>
    I want to have more info about this.I don't know anything about cgi
    is formail is a script ? exe program ? or other ?

    thank you for your help



  4. #4
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    Hi Toraj,

    CGI is a script and i can't remember for sure but i think its written in a language called perl and basically its the glue that holds the internet together, i read that somewhere (everywhere more like)

    I guess for what your asking you need vbscript or javascript

    DocZaf
    {;->

    Make sure to take a look at the microsoft developer centre.


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