Results 1 to 7 of 7

Thread: Need super simple method to send a form to an email address

  1. #1
    Join Date
    Nov 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Need super simple method to send a form to an email address

    On my own site, I use a very long pearl script to send the forms on my site to my email. It works fine. However, I am redesigning a site for an organization who want a form. I don't want to use the long complicated script since they are not web saavy, plus I don't know if their hosts server can deal with it. And so far, it's not working correctly

    So I need something super simple. PHP, CGI, whatever. It just needs to send the form to their email address. I would use <action="mailtooo@pee.com" etc>, but that prompts the users email client to open, which I don't want.

    So if anyone has something short and sweet (that works) to send a form to an email address, that would be great.

    I found one at http://www.3rdcoast.com but it only grabs the first item in the fied and nothing else. Help please! This needs to be done very soon.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Take a look at the following thread.

    http://www.dynamicdrive.com/forums/s...ight=mail+form

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Nov 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I tried that kind of script, and it's giving me a 500 Internal Error. Here is my php script:

    PHP Code:
    <?
    if ($_POST["Submit"]){

    if (
    $_POST["Name"] and $_POST["Address"] and $_POST["Apt_Suite"] and $_POST["City"] and $_POST["Province"] and $_POST["Postal_Code"] and $_POST["Phone"] and $_POST["Email"] and $_POST["Publication_Title"] and $_POST["#_Copies_English"] and $_POST["#_Copies_French"] and $_POST["Details"]){

    mail (
    "eday2010@gmail.com",
    "Publication Order Request (EN)",
    "
    Name:     "
    .$_POST['Name']."
    Address:     "
    .$_POST['Address']."
    Apt/Suite:     "
    .$_POST['Apt_Suite']."
    City:     "
    .$_POST['City']."
    Province or Territory:     "
    .$_POST['Province']."
    Postal Code:     "
    .$_POST['Postal_Code']."
    Phone:  "
    .$_POST['Phone']."
    E-mail:   "
    .$_POST['Email']."
    Publication Title:  "
    .$_POST['Publication_Title']."
    # of English Copies:  "
    .$_POST['#_Copies_English']."
    # of French Copies:  "
    .$_POST['#_Copies_French']."
    Details/Comments:  "
    .$_POST['Details']."
    "
    ,
    "From: ".$_POST['Name']." <".$_POST['Email'].">");

    header("Location: http://www.wnstudios.ca/en/thankyou2.html"); 
    exit(); 
    }
    ?>
    And the actual form is here: http://www.wnstudios.ca/en/order-commandez.html

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Super simple? Get a third party mail handler.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Nov 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Are there free ones?

  6. #6
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Tons of them, go to Hotscripts.com and have a look through that.

    You could also do a Google search for many more.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Here is one such free service (this is not a recommendation):

    http://www.jotform.com/index

    You can use the form completely on your server or have them host (process) it for you. Both are free. If you Google:

    free mail form remote host

    You will find other services like this (along with a lot of other responses).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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