Generating email from Form Input

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Olumide

    Generating email from Form Input

    I have a form on my webpage. I would like visitors to complete this
    form and click a send button that generates an email. How can this be
    done? With Javascript of PHP? In either case, please send me pointers
    to where I can find more information. (I am an utter PHP noob.)

    Thanks,

    - Olumide
  • Tony Marston

    #2
    Re: Generating email from Form Input

    In my infrastructure I have a separate class for each business entity
    (database table) but each of these class instances communicate to the
    database through a single DML class instance. The trick is to create the DML
    instance in a global variable where it can be accessed by any and all
    business entity instances.

    I have put together a sample application (described in
    http://www.tonymarston.net/php-mysql...plication.html) which can be
    run online. You can also download all the source code to see how it is done.

    Hope this helps.

    --
    Tony Marston

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




    "Olumide" <50295@web.de > wrote in message
    news:c837e7e8.0 406050300.3e28c ee7@posting.goo gle.com...[color=blue]
    > I have a form on my webpage. I would like visitors to complete this
    > form and click a send button that generates an email. How can this be
    > done? With Javascript of PHP? In either case, please send me pointers
    > to where I can find more information. (I am an utter PHP noob.)
    >
    > Thanks,
    >
    > - Olumide[/color]


    Comment

    • Tony Marston

      #3
      Re: Generating email from Form Input

      Whoops. Ignore this. I replied to the wrong question.

      Tony Marston

      "Tony Marston" <tony@NOSPAM.de mon.co.uk> wrote in message
      news:c9sa7n$69d $1$8300dec7@new s.demon.co.uk.. .[color=blue]
      > In my infrastructure I have a separate class for each business entity
      > (database table) but each of these class instances communicate to the
      > database through a single DML class instance. The trick is to create the[/color]
      DML[color=blue]
      > instance in a global variable where it can be accessed by any and all
      > business entity instances.
      >
      > I have put together a sample application (described in
      > http://www.tonymarston.net/php-mysql...plication.html) which can be
      > run online. You can also download all the source code to see how it is[/color]
      done.[color=blue]
      >
      > Hope this helps.
      >
      > --
      > Tony Marston
      >
      > http://www.tonymarston.net
      >
      >
      >
      > "Olumide" <50295@web.de > wrote in message
      > news:c837e7e8.0 406050300.3e28c ee7@posting.goo gle.com...[color=green]
      > > I have a form on my webpage. I would like visitors to complete this
      > > form and click a send button that generates an email. How can this be
      > > done? With Javascript of PHP? In either case, please send me pointers
      > > to where I can find more information. (I am an utter PHP noob.)
      > >
      > > Thanks,
      > >
      > > - Olumide[/color]
      >
      >[/color]


      Comment

      • Hywel

        #4
        Re: Generating email from Form Input

        In article <c837e7e8.04060 50300.3e28cee7@ posting.google. com>, Olumide
        says...[color=blue]
        > I have a form on my webpage. I would like visitors to complete this
        > form and click a send button that generates an email. How can this be
        > done? With Javascript of PHP? In either case, please send me pointers
        > to where I can find more information. (I am an utter PHP noob.)[/color]

        PHP - read the info. on the mail() function in the PHP documentation.
        It's very straightforward .

        --
        Hywel I do not eat quiche


        Comment

        • Marian Heddesheimer

          #5
          Re: Generating email from Form Input

          On 5 Jun 2004 04:00:43 -0700, 50295@web.de (Olumide) wrote:
          [color=blue]
          >I have a form on my webpage. I would like visitors to complete this
          >form and click a send button that generates an email.[/color]

          You can create such a PHP-script with my Online Form-Generator and
          receive the PHP-Code via E-Mail:



          Best Regards

          Marian

          --
          Internet-Dienstleistunge n - von der Webseite bis zum Online-Shop
          http://www.heddesheimer.de mailto:marian@h eddesheimer.de

          Comment

          • Robert

            #6
            Re: Generating email from Form Input

            50295@web.de (Olumide) wrote in message news:<c837e7e8. 0406050300.3e28 cee7@posting.go ogle.com>...[color=blue]
            > I have a form on my webpage. I would like visitors to complete this
            > form and click a send button that generates an email. How can this be
            > done? With Javascript of PHP? In either case, please send me pointers
            > to where I can find more information. (I am an utter PHP noob.)
            >
            > Thanks,
            >
            > - Olumide[/color]

            The server program cgiemail may do what you want. The user fills out
            an html form, the form data get posted to the server, cgiemail gets
            invoked, cgiemail uses a template to generate an email, and cgiemail
            sends the email to whoever is specified in the template.

            For more details on cgiemail, see:



            There are other free email form servers that you can use and that you
            do not have to install. Some are mentioned in ths group, but I
            couldn't come up with an accurate google search.

            Robert

            Comment

            Working...