Any way to send a form automatically to a user-chosen email?

I want the user to be able to type in an email, then fill out the rest of the form, then have the form data automatically be sent to that email. Is this possible??

Well, I did manage to find another form mailer script, maybe first take a look at this one and see if it's easier..
http://www.dagondesign.com/articles/secure-php-form-mailer-script/
These are all the options... sorry it's really long:
// STANDALONE OPTION
// If you plan to use this script by itself (not included from another PHP file), set this
// option to TRUE, and it will generate a proper html header and footer. If you want to
// change the basic header and footer, they are found near the bottom of this script
$standalone = TRUE;
// If you are using the standalone option, enter the relative path to your CSS file so it 
// can be declared properly in the header
$path_to_css = 'dd-formmailer.css';
// For those of you including this script in another PHP file, be sure to manually
// add the CSS declaration in the header section of your page:
//   <link rel="stylesheet" href="(location of dd-formmailer.css)" type="text/css" media="screen" />
// You also need to load the JS file used by the date chooser, if you choose to use this field:
//   <script type="text/javascript" src="(location of date_chooser.js)"></script>
// If you are using the stand-alone mode, these will be added automatically
// LANGUAGE SETTING
// The relative path to the language file you want to use.
$language = 'lang/English.php';
// FULL URL TO SCRIPT
// The full URL to dd-formmailer.php (or whatever you have renamed it to)
$script_path = 'http://www.swcsnp.org/dd-formmailer.php';
// FULL URL TO CONTACT PAGE
// If you are running this script in standalone mode, leave this blank. Otherwise,
// enter the full URL to the page that is displaying the form
$path_contact_page = '';
// RECIPIENT DATA
// If you are just sending email to a single address, enter it here. For more advanced
// usage such as multiple recipients, CC, BCC, etc.. please see the web page for instructions
$recipients = '[email protected]';
// FORM STRUCTURE
// This is used to generate the form. Each form element must be on its own line.
// Detailed usage instructions can be found on the web page
$form_struct = '
          type=text|class=fmtext|label=Name|fieldname=fm_name|max=100|req=true
          type=text|class=fmtext|label=Email|fieldname=fm_email|max=100|req=true|ver=email
          type=text|class=fmtext|label=Subject|fieldname=fm_subject|max=100|req=true
          type=verify|class=fmverify|label=Verify
          type=textarea|class=fmtextarea|label=Message|fieldname=fm_message|max=1000|rows=6|re q=true
// MANUAL FORM CODE
// Advanced users only! please read documentation first
$manual_form_code = '';
// WRAP MESSAGES
// If enabled, this wraps messages to 70 chars per line (for RFC compliance)
$wrap_messages = TRUE;
// SAVE ATTACHMENTS
// If enabled, attachments will be saved to a directory instead of emailed
$attach_save = FALSE;
// SAVE ATTACHMENT PATH
// Where files will be saved, if attach_save is enabled
// ** Full path on server. Ex: /home/user/public_html/upload/
// ** Make sure directory has write permission
// ** include trailing slash
$attach_path = '';
// SHOW REQUIRED
// If enabled, required fields are marked with an asterisk
$show_required = TRUE;
// SHOW URL
// If enabled, the URL the script is running from will be added to the message
$show_url = FALSE;
// SHOW IP AND HOSTNAME
// If enabled, the visitor's IP and hostname are added to the message
$show_ip_hostname = TRUE;
// SPECIAL FIELDS
// These options help generate the email headers. Simply enter a field name,
// and the user input from that field will be used. You can also combine fields.
// For example, if you have a fm_firstname and fm_lastname field, you could
// set $sender_name to 'fm_lastname, fm_firstname'
$sender_name = 'fm_name';
$sender_email = 'fm_email';
$email_subject = 'Contact: fm_subject';
// MAX UPLOAD SIZE
// If you are using file uploads in your form, this specifies the max file size.
// (This does not override any server settings you might have in PHP.ini)
$max_file_size = 1000000; // in bytes
// MESSAGE STRUCTURE
// This is an optional setting that allows you to define your own custom message
// template. More information can be found on the web page. If left blank, the script
// will generate the message itself, which is generally suitable for most purposes.
// You use field names in this - they will be replaced with the user input from those fields.
$message_structure = '';
// SUCCESS MESSAGE
// This is the text shown after the visitor has successfully submitted the form.
// You use field names in this - they will be replaced with the user input from those fields.
$sent_message = '<p>Thank you - your message has been sent.</p>';
// AUTO REPLY OPTION
// This optional feature allows you to automatically send a pre-defined auto reply email.
// To use it, simply specify the name and email address you want the message to be 'from',
// as well as a subject and message. To disable, just leave $auto_reply_message blank.
// You use field names in the message - they will be replaced with the user input from those fields.
$auto_reply_name = '';
$auto_reply_email = '';
$auto_reply_subject = '';
$auto_reply_message = '';
// IMAGE VERIFICATION
// You can disable image verification, use the simple built-in method, or use ReCaptcha
// If you use ReCaptcha, sign up for a free account at http://recaptcha.net and enter the codes below
$verify_method = 'basic'; // 'off', 'basic', or 'recaptcha'
// BASIC IMAGE VERIFICATION OPTIONS
$verify_background = 'F0F0F0';          // hex code for background color
$verify_text = '005ABE';                    // hex code for text color
$force_type = '';                                        // problems showing the code? try forcing to 'gif', 'jpeg' or 'png'
// RECAPTCHA IMAGE VERIFICATION OPTIONS
// Public and private keys - you get these when you sign up an account at http://recaptcha.net
$re_public_key = '';
$re_private_key = '';
// SAVE DATA TO FILE
// If set to TRUE, the form input will be saved in a delimited file
$save_to_file = FALSE;
// STILL SEND EMAIL
// If saving the data to a file, still have the script send the email?
$save_email = TRUE;
// DATA PATH
// The file that will be written to - make sure it has write access
$save_path = 'data.txt';
// DELIMITER
// Fields will be separated by this character. If this character is found in
// the actual data, it will be removed.
$save_delimiter = '|';
// NEWLINES
// Newlines in the data will be replaced by this
$save_newlines = "<br>";
// TIMESTAMP
// Add date/time to the beginning of each line
// Uses the PHP date format: http://us.php.net/date
// Leave blank to disable this feature
$save_timestamp = "m-d-Y h:i:s A";

Similar Messages

  • Is there ANY way to send something through Bluetooth to an android phone?

    Is there ANY way to send something through Bluetooth to an android phone?

    I think I sorted it out:
    On your Mac, go to the Bluetooth preferences panel after pairing your (your android phone) to the Mac.
    Select (your android phone) in the left-hand menu, then use the little cog to pull down a list of options.
    Select "Edit serial ports..."
    Click the '+' icon, and in the Port Settings section, select OBEX Object Push.
    Protocol should be automatically set to RS-232. Click "apply" (and probably "require pairing" to be nice n secure) et voila!!
    so far, so good

  • I just bought an new ipad mini with wifi and cellular. Is there any way to send text messages to people and contacts that do not have iphones such as friends with blackberrys or a samsung galaxy smartphone.

    I just bought an new ipad mini with wifi and cellular. Is there any way to send text messages to people and contacts that do not have iphones such as friends with blackberrys or a samsung galaxy smartphone from this ipad. Everytime I try to send a message to a person that does not have an Apple product ( Iphone or Ipad ) it comes up saying contact is not registered for iMessage and wont send it. I can only send them a message from my iPhone 4 instead. Do I have to install a new App from the App store to send these non iMessage cell users a message?

    FYI
    Complete guide to using iOS 6
    http://howto.cnet.com/ios-6-complete-guide/
    Guide to Built-In Apps on iOS
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/guide-to- built-in-apps-ios
    You can download a complete iOS 5 iPad User Guide and iOS 6 iPad User Guide here: http://support.apple.com/manuals/ipad/
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Apple iPad Guided Tours - Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    http://www.youtube.com/watch?v=YT2bD0-OqBM
    http://www.youtube.com/watch?v=ROY4tLyNlsg&feature=relmfu
    http://www.youtube.com/watch?v=QSPXXhmwYf4&feature=relmfu
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • Any way to Upload a File Automatically without user interaction in BSP.

    Hi,
    Any way to Upload a File Automatically without user interaction in BSP.
    Problem is;
    We have an terminal pc connected to an Production Machine and has a PLC for reading Machine Actual Datas. This terminal has Windows CE.NET OS. There is one program which Appending PLC Data to Text file (STORAGE CARD\PLC\SAMPLE.TXT).
    Users can access to WAS system in this Terminal (Has network).
    I have to access to SAMPLE.TXT file using BSP when user antered a page in WAS.
    Have you got any solution. I have tried so much methods to do this. But i have not found any solution.

    Yes SAMPLE.txt stored in "STORAGE CARD\PLC" folder in terminal.
    But i am trying in my computer to test with "C:
    GPS.txt"
    I have tried before this method. But I think this is a security exception. Because when i use
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    extName = fso.GetExtensionName("C:\GPS.txt");
    alert(extName)
    -->
    </SCRIPT>
    i am getting an alert with message "txt". there is no problem.
    But when i try to access file using this code
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    fileObj = fso.GetFile("C:\GPS.txt");
    -->
    </SCRIPT>
    i am getting "Automation server can't create object".
    Message was edited by:
            Ibrahim UGUR

  • Is there any way to send sms in MIDP1?

    Is there any way to send sms in MIDP1 which doesn't support WMA (MessageConnection, TextMessage, ...) ?
    It seems it should, because in MIDP 1.0 documentation is note about sending sms using protocol sms://destination:port and that it returns DatagramConnection but there is no example and I really don't know how to create new Datagram to send TEXT message. It can only be created from array of bytes so it seems it can only send binary messages (?!).
    Plz help me...

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Is there any way to send email messages to Ipages

    IIs there any way to send email messages to Pages please

    Tap and hold or double tap to highlight a word in the email.  Drag the handles to capture what you want.  Tap copy.
    Now paste that into Pages by tapping and holding until you see the paste button.
    See p. 26 of the User Guide.

  • Is there any way to send notification to site administrator in case an outage occur on o365

    is there any way to send notification to site administrator in case an outage occur on o365

    Hi MGPZ,
    check the following URLs and let me know if helpful
    http://community.office365.com/en-us/f/148/t/222609.aspx
    http://technet.microsoft.com/en-us/library/office-365-service-health.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Is there any way to send some one a password protected pdf that only they can access/view with a password?

    Is there any way to send some one a password protected pdf that only they can access/view with a password?
    Thanks!

    Hi wonderingtoday,
    Yes, you can! If you have Acrobat, you can assign an "Open Password" to the PDF, so that only people who have that password can open the PDF. If you don't have Acrobat, you can try it for free for 30 days. For more information, see www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • And is there any way to send sms in MIDP1?

    And is there any way to send sms in MIDP1 which doesn't support WMA (MessageConnection, TextMessage, ...) ?
    It seems it should, because in MIDP 1.0 documentation is note about sending sms using protocol sms://destination:port and that it returns DatagramConnection but there is no example and I really don't know how to create new Datagram to send TEXT message. It can only be created from array of bytes so it seems it can only send binary messages (?!).
    Plz help me...

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Is there any way to send sms through j2me

    hi all,
    is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulator
    any sugesstions appriciated
    abdul rafiq jani
    applitech solution limted

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Is there any way to send an album without all the photos attaching and the file being huge? and the file being huge?

    Is there any way to send just a link to an album? (vs attaching everything and having a huge file?) Thanks!

    No.
    File -> Export and send them to a Folder on the desktop. Then do what you will with them from there.
    There is nothing to be gained by installing Picasa if you're using iPhoto.
    Regards
    TD

  • TA38622 is there any way to send sms by a connected iPhone to computer ? if so does it need any special application and program ? with witch port ? thank you.

    is there any way to send sms by a connected iPhone to computer ? if so does it need any special application and program ? with witch port ? thank you.

    Hi, Santosh..., and welcome to the Community,
    I would recommend testing the SMS reply forwarding to your mobile number.  Depending upon the results and if this works for you, you could then contact Skype Customer Service to cancel and request a refund.
    In other words, SMS will be received via your mobile number, not via your Skype Number.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Is there any way to send more then 1 parameter to the listener function?

    Hi guys, so is there any way to send more then 1 parameter to the listener function?

    Hi,
    sure.
    The first variant is to add many parameters to event.
    The second variant is to extend calling callback functions.
    For example,
    public function addCallBack(eventName:String, callBack:Function = null, ... rest):void
         // save callBack function and event type and other args (rest)
         addEventListener(eventName, myHandler);
    private function myHandler(event:Event):void
         // get function and args by eventName
         fnc.apply(null, [event, args]);

  • Any way to slow down the automatic ambient light adjustments

    Is there any way to slow down the automatic ambient light adjustments? My local Starbucks has point-source lighting and as I move my head to the right or left my monitor grows brighter and dimmer. I don't want to turn it off completely because I appreciate the function, I just wish it could be a bit less aggressive.

    Sorry I do not have an answer for you but I have noticed the exact same problem in other situations... Ever since they moved the light sensor from beneath the speaker grille to the top of the monitor I have not been enjoying the screen brightness auto adjustment feature as much as I feel it takes a light measurement from in front of the computer not ABOVE it (which is generally where the light is consistently coming from)

  • Is This Any Way To Send Bulk Sms On Whatsapp Using Asp

    Is This Any Way To Send Bulk Sms On Whatsapp Using Asp and connect bluestacks with asp

    Hi nNiTIn,
    I was wondering what the type of your project was, a C# project, or asp.net project?
    If your project is asp.net, I would recommend you to turn to the asp.net forum, and the links below might be useful to you:
    # how to send whatsApp message from asp.net??
    http://forums.asp.net/t/1919622.aspx?how+to+send+whatsApp+message+from+asp+net+
    # ASP.Net Forum
    http://forums.asp.net
    It would be helpful if you could share us more information about your issue.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

Maybe you are looking for