Getting the content of a webform emailed to you?

Discussion in 'Web Design and Development' started by Macman1993, Jun 11, 2009.

  1. Macman1993 macrumors 6502


    Nov 23, 2007
    Hey guys I am looking to have a webform on a website that will email you whatever a user inputs to it (text only). I have seen one thing called formmail but I couldn't make sense of it due to knowing nothing about perl. Does anyone know of a good way to do this? I would really appreciate any help from you guys.
  2. TodVader macrumors 6502a


    Sep 27, 2005
    Quebec, Canada
    You could combine PHP's mail() function with the results from the form using $_POST variables.

    It could look something like this:

    $message='name :'.$name.'blabla etc....';
  3. xrp123 macrumors newbie

    Sep 22, 2008
    try this

    funny thing is ran into the same problem recently...

    Most of the sites I've made had the form mail feature as part of the hosting package... this made it easy to create one and insert into your site. So first thing I would check is if your web hosting provider includes it in your package or cpanel.

    If not, I found a pretty good workaround that, so far, seems work great and is reliable thus far - (use the free service - up to 5 forms - need to include a link back)

    hope that helps!

Share This Page