Connecting Tech Pros Worldwide Help | Site Map

Generating email from Form Input

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 11:24 AM
Olumide
Guest
 
Posts: n/a
Default 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

  #2  
Old July 23rd, 2005, 11:24 AM
Tony Marston
Guest
 
Posts: n/a
Default 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

http://www.tonymarston.net



"Olumide" <50295@web.de> wrote in message
news:c837e7e8.0406050300.3e28cee7@posting.google.c om...[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]


  #3  
Old July 23rd, 2005, 11:24 AM
Tony Marston
Guest
 
Posts: n/a
Default Re: Generating email from Form Input

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

Tony Marston

"Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in message
news:c9sa7n$69d$1$8300dec7@news.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.0406050300.3e28cee7@posting.google.c om...[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]


  #4  
Old July 23rd, 2005, 11:24 AM
Hywel
Guest
 
Posts: n/a
Default Re: Generating email from Form Input

In article <c837e7e8.0406050300.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
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
  #5  
Old July 23rd, 2005, 11:24 AM
Marian Heddesheimer
Guest
 
Posts: n/a
Default 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:

http://www.rent-a-tutor.com/tools

Best Regards

Marian

--
Internet-Dienstleistungen - von der Webseite bis zum Online-Shop
http://www.heddesheimer.de mailto:marian@heddesheimer.de
  #6  
Old July 23rd, 2005, 11:24 AM
Robert
Guest
 
Posts: n/a
Default Re: Generating email from Form Input

50295@web.de (Olumide) wrote in message news:<c837e7e8.0406050300.3e28cee7@posting.google. 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:

http://web.mit.edu/wwwdev/cgiemail/

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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.