Results 1 to 7 of 7
  1. #1
    Guest
    I am trying to build a form that will send the form contents to an email address that is specified by the user, ie: the user fills out the form, enters an email address and the form is sent to that address. I can't work out how to do it. Any help would be greatly appreciated.

  2. #2
    Newbie
    Join Date
    January 18th, 2005
    Posts
    2,694
    What kind of script are you using to process the form data and what errors are you getting when you try to use it?

  3. #3
    Guest
    Hi Eaglefire,

    I havn't found a script that can do it. I have been searching for days with no luck. Do you know of any? I have no idea how to write one so I need to find an existing script.

  4. #4
    Newbie
    Join Date
    January 18th, 2005
    Posts
    2,694
    There are a bunch of scripts on http://hotscripts.com

    Keep in mind that many hosts will not let you send form data to a 3rd party from a 3rd party. The From: part of the message header has to be a user on the system - user@yourdomain.com .

  5. #5
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    2,279
    You can also try http://www.cgi-resources.com and what I'd look for is a Tell-A-Friend (TAF) script. They're set up to do exactly what you want and could probably be hacked up a bit to meet your needs (dependent on how much hacking you're comfortable with...).

  6. #6
    Newbie
    Join Date
    January 18th, 2005
    Posts
    7
    Thanks heaps Eaglefire and Cedric,

    I managed to find a script that would do want I want. I have another question. If I was to send someone an HTML email that had a button in it that, when clicked, would forward that email to a pre defined email address, what would the code behind that button be?

    I have no idea. I know "mailto" won't work. Is there such a command as "forwardto:"?

  7. #7
    Newbie
    Join Date
    January 18th, 2005
    Posts
    2,694
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Is there such a command as "forwardto:<HR></BLOCKQUOTE>

    Not that I have heard of. AFAIK you would either have to include an Activex control in the message that would complete the action in the email program (keeping in mind that many email programs block Activex emails for virus control reasons), or have the button submit the data to another script on your server where the forwarding address is then filled in and sent.

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Odd Form Submission Problem
    By Kevin in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: August 19th, 2010, 04:18 PM
  2. Another Problem with the Linkshare Contact Form
    By Snowman in forum Rakuten LinkShare - LS
    Replies: 1
    Last Post: June 5th, 2007, 02:53 PM
  3. Support form problem
    By LizB in forum Cusimano.com Scripts
    Replies: 1
    Last Post: February 21st, 2004, 11:29 AM

Posting Permissions

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