Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    email from processing-layout

    Hello, I created a html employee application form, that emails the results to me. Does anyone have a script that processes the data typed in, into the same format as the application?

    Right now it sends me all the data in one row.

    We need the info sent to us to look just like the application format.

    thank you,
    Nick

  • #2
    Regular Coder
    Join Date
    Apr 2003
    Location
    Atlanta, GA
    Posts
    487
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You're going to need something server-side for that.

  • #3
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    As far as I know Choopernickel is right.

    You'd need a server-side language (like PHP, JSP, ASP, or something....). Your webform would post the form to some server-side script, say process_form.php.

    This process_form.php would in turn generate that same webform, but instead of creating blank input fields, you'd set the values to the incoming values (ie. in PHP from the $_POST array).

    You would store this generated webform in a variable, and then use the server's email routine to send the email with this form as the body of the email.

    That's the idea behind it.

    The other method you may want to consider, and it depends on your mail client, is that you can write a script such that when the subject is of a certain heading (or however u identify these emails), you would alter the body of the message to separate that one line into separate lines.

    I don't know much about mail servers, but if you've got one, you may be able to throw the script on there...?

    The method you choose will probably depend on your mail client/server, or ability to use server-side scripts.

    Hope that helps,
    Sadiq.


  •  

    Posting Permissions

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