Emailing form question

I have created a form and havegot it to work when I click send it opens up outlook and sends as xml is there anyway I can get it to send as an exact copy of the PDF with the users data that has been inputted for easier viewing elsewhere?

I use regular button rather than submit. And add the following code to 'click' event to get what you are expecting.<br /><br />event.target.mailDoc(false, <emailtoaddress>, "", "", <email subject>);<br /><br />This will attach copy of your form to the email. If want keep the toaddress and subject blank just use "" in place of variables.<br /><br />Good luck,<br />SekharN

Similar Messages

  • PHP Email Form is not Emailing

    HI,
    I made a PHP email form and i was wondering if i did it
    correct. I try to send a email but for some reason it wont work
    here is the PHP code:
    <?php
    $emailSubject = 'Computer Question!';
    $webMaster = '[email protected]';
    $nameField = $_POST ['name'];
    $phoneField = $_POST ['phone'];
    $emailField = $_POST ['email'];
    $questionField = $_POST ['question'];
    $body = <<<EOD
    <br><hr><br>
    Name: $name <br>
    Phone: $phone <br>
    Email: $email <br>
    Question: $question <br>
    EOD;
    $headers = "From: $email\r\n";
    $headers .="Content=type: text/html\r\n";
    $success = mail($webMaster, $emailSubject, $body, $headers);
    /* Results Rendered as HTML */
    $theResults = <<<EOD
    ?>
    Here is the Email form:
    :<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form id="form1" name="form1" method="post"
    action="Contact form 505 test 2.php">
    <table width="70%" border="1" cellpadding="6">
    <tr>
    <th width="16%" scope="col"><div align="right">
    <label for="name">Name:</label>
    </div></th>
    <th width="84%" scope="col"><div align="left">
    <input name="name" type="text" id="name" size="35"
    maxlength="60" />
    </div></th>
    </tr>
    <tr>
    <th scope="row"><div align="right">
    <label for="phone ">Phone Number</label>
    </div></th>
    <td><div align="left">
    <input name="phone " type="text" id="phone " size="35"
    maxlength="13" />
    </div></td>
    </tr>
    <tr>
    <th scope="row"><div align="right">
    <label for="email">Email:</label>
    </div></th>
    <td><div align="left">
    <input name="email" type="text" id="email" size="35"
    maxlength="40" />
    </div></td>
    </tr>
    <tr>
    <th scope="row"><div align="right">
    <label for="question">Question:</label>
    </div></th>
    <td><div align="left">
    <textarea name="question" cols="26" rows="8"
    id="question"></textarea>
    </div></td>
    </tr>
    <tr>
    <th scope="row"> </th>
    <td><label for="Send Email"></label>
    <input type="submit" name="Send Email" id="Send Email"
    value="Submit" /></td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    Any help would be appreciated!
    thanks

    .oO(jumpman310)
    > I made a PHP email form and i was wondering if i did it
    correct. I try to send
    >a email but for some reason it wont work here is the PHP
    code:
    Next time please be more specific. "won't work" isn't really
    helpful.
    Anyway, the first thing to fix is the error reporting on your
    testing
    server, obviously it's not configured properly. In your
    php.ini these
    directives have to be set:
    error_reporting = E_ALL|E_STRICT
    display_errors = on
    You should get some notices from your script. After fixing
    those issues,
    you should also read about header injection and how to
    prevent it. Your
    script is vulnerable and can be abused for sending spam. Also
    consider
    to use a class like PHPMailer to make things more secure and
    convenient.
    Some further notes about your form markup:
    * It's very good that you make use of labels for your form
    controls, but
    in some cases the IDs of these controls contain spaces, which
    is not
    allowed.
    * You don't really need a label for a submit button.
    * Consider to drop all those div elements in the table
    headers - you
    don't need them. Use CSS to style the labels the way you
    want, e.g.
    form th {text-align: right}
    I also use this:
    label:hover {outline: 1px dotted #666}
    * Check the markup of the "Name" row. The 'scope' attribute
    is incorrect
    and the form control should be inside a 'td', not a 'th'.
    Micha

  • Problems with email form in Flex

    I've been scouring the web for an email form in Flex for several days now and am stuck because of what I think are these several areas.
    Setting up the back end - I am running wamp server 2.0 on my devolping machine and have a Windows 2008 Server with PHP set up at my disposal as well.  Most of the tutorials I've come across don't go over these configurations, I've figured a few things out, but am still rather in the dark and am unsure what I've learned is accurate.  Here are a couple questions:
    How do I set up the Flex Build Path.  For example I have a folder created in the www directory of the wamp server named mailform where I tell the HTTPService's url property to post to a php file named 'mail.php'  So would this be correct?
    <mx:HTTPService 
    id="emailService" url="http://localhost/mailform/mail.php"
    method="POST" resultFormat="xml" result="emailResult()" useProxy="false"/>  
    Do I need to change values in wamp's php.ini file.  From what I've found smtp_server, smtp_port, and php_openssl need to be changed.
    Do I need to open up a port on my router (25)?
    Would I need to use an alternative app like PEAR: Mail or phpMailer.  For testing purposes I'm using my gmail account, the client's site this is for uses a bellsouth.net account.
    2. Are problems still persisting with Flash Player 10, like illustrated in this thread: http://www.actionscript.org/forums/showthread.php3?t=196454  As msfx pointed every email form example I've downloaded, there've been many, I have not been able to get to work.  Yet as you can tell there are probably other issues I need to take care of as well.
    Please point me in any direction(s) that will help, am open to all suggestions, would just like to get a working email form done in flex so I can finish the client's site.  Thank you.

    "italiantometa" <[email protected]> wrote in
    message
    news:gk5em7$3s7$[email protected]..
    > Hi Amy,
    >
    > This isn?t spam and I hope you get the email. The tilt
    viewer is a
    > component
    > that allows the images on the screen to be moved about
    from a central
    > point in
    > a see-saw fashion ? kind of like a flat panel can be
    tilted
    > up/down/left/right.
    > I?m looking for someone with FLEX, AS2 and AS3
    experience to take a look
    > at
    > this and fix it for us. Interested?
    Is this a Flash component or a Flex component? What's the
    issue?

  • Making email form with instructions in it?

    This might be a very basic question but I cant figure it out hehe ...I am trying to make an email form like on this site...
    http://www.timberline-resources.com/
    I know how to make the form but not with the "Enter Your Email".......I want to know how to do that...so that when you click in it it disappears...
    Thanks in advance for any help.
    T

    Your example site is all done with Flash which is not web-friendly. 
    My solution below uses a bit of JavaScript to clear the input field when clicked.  If nothing is typed in the field, the field value 'Enter Email To Get Updates' comes back.
    <input type="text" name="Your-field-name-here" onclick="this.value='';"  onfocus="this.select()" onblur="this.value=!this.value?'Enter Email To Get Updates':this.value;"  value="Enter Email To Get Updates" />
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Creating an email form in iweb

    Hello,
    I would like to create an email form in one of my websites, the type in which you ask a question and sends you an email directly to your email address without having to open mail.
    How do I go about it?
    Thank you
    Message was edited by: Allanfrance

    Hello
    I checked the services other members posted. All looks cool, but I would recommend you if you are interested to create this form yourself.
    My idea is to create a predesigned form, converted to your needs and post it on the web then use simply an iframe to display at your iweb.
    1-download trial Rapid Weaver.
    create a contact form and publish to a folder.
    open it in dream weaver. delete everything you don't need. -Side bars etc.
    and save it.
    2- upload contact folder on your site
    3-IWEB
    open iweb widgets
    copy and paste following code
    <IFRAME SRC = "*<a class="jive-link-external-small" href="http://www.YOURSITE/Contact/index.php">http://www.YOURSITE/Contact/index.php" WIDTH="460px" HEIGHT="405px" FRAMEBORDER="0" --if "0" no border, otherwise "1" with border MARGINWIDTH ="0px" MARGINHEIGHT="0px" SCROLLING="no" --"no" no scrolling bar, "yes" show always, "auto" showed when need > Your browser does not support IFRAME </IFRAME>
    Change bold, and enhance width and height.
    it is very simple, fast you can be done in 10 minutes. advantage is that you don't have to pay for any services.
    It is not the best solution, but next version of Iweb should have more enhancements like this
    Regards
    MIKE

  • Email Form Troubles

    Hi folks,
    Happy Thursday!
    A client recently sent me an email she received from her
    online form (code below). It reads:
    I wish I could have chosen the \"I\'d like you to write for
    my publication\" subject. But, I\'m just here to let you know your
    website is outstanding and beautiful... peaceful and curious at the
    same time. I think it\'s the cool colors and the intricate image
    that make me feel that way. I read several of your architect
    articles. You\'re very talented.
    When I contacted GoDaddy about it, as I'd never seen that
    before, they said:
    "Unfortunately looking into the file it seems there is a
    scripting error with your form. We are unable to assist customers
    with scripting issues."
    I went to my normal I-cant-figure-this-out code guy, and he
    tinkered with some things but to no avail. I also contacted another
    client to see if they had the same issue, and they do. If the issue
    is with my form, would someone please explain what I'm
    missing/doing wrong? I'd be greatly appreciative. Many thanks.
    =========================

    Hi,
    Can you please show me your .php page? What you need to do is
    find the place
    where you're writing the fields into the e-mail, and add:
    stripslashes()
    around those values.
    HTH, take care,
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Back for 2007, close-up magic:
    http://deceptivemagic.com
    Web dev articles, photography, and more:
    http://sourtea.com
    =============================================
    Proud GAWDS member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Jim Nee" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi folks,
    >
    > Happy Thursday!
    >
    > A client recently sent me an email she received from her
    online form (code
    > below). It reads:
    > -----
    > I wish I could have chosen the \"I\'d like you to write
    for my
    > publication\"
    > subject. But, I\'m just here to let you know your
    website is outstanding
    > and
    > beautiful... peaceful and curious at the same time. I
    think it\'s the
    > cool
    > colors and the intricate image that make me feel that
    way. I read several
    > of
    > your architect articles. You\'re very talented.
    > -----
    >
    > When I contacted GoDaddy about it, as I'd never seen
    that before, they
    > said:
    > -----
    > "Unfortunately looking into the file it seems there is a
    scripting error
    > with
    > your form. We are unable to assist customers with
    scripting issues."
    > -----
    >
    > I went to my normal I-cant-figure-this-out code guy, and
    he tinkered with
    > some
    > things but to no avail. I also contacted another client
    to see if they had
    > the
    > same issue, and they do. If the issue is with my form,
    would someone
    > please
    > explain what I'm missing/doing wrong? I'd be greatly
    appreciative. Many
    > thanks.
    >
    > =========================
    >
    >
    > <form id="contact2" name="contact" method="post"
    action="../gdform.php">
    > <input type="hidden" name="redirect"
    value="contact/thankyou/" />
    > <table width="453" height="300" border="0"
    cellpadding="0"
    > cellspacing="5" summary="use this form to email Emily
    Lowe.">
    > <caption>
    > <strong>Email Form</strong>
    > </caption>
    > <tr>
    > <td width="130" height="20" align="right"
    valign="top"><div
    > class="contactSplash">
    > <label for="name"> your name: </label>
    > </div></td>
    > <td width="308" height="20" align="left"
    valign="top"><input
    > name="name" type="text" id="name" size="20"
    maxlength="60" />
    > </td>
    > </tr>
    > <tr>
    > <td width="130" height="20" align="right"
    valign="top"><div
    > class="contactSplash">
    > <label for="email"> your email: </label>
    > </div></td>
    > <td width="308" height="20" align="left"
    valign="top"><input
    > name="email" type="text" id="email" size="25"
    maxlength="60" /></td>
    > </tr>
    > <tr>
    > <td width="130" height="20" align="right"
    valign="top"><div
    > class="contactSplash">
    > <label for="subject"> subject: </label>
    > </div></td>
    > <td width="308" height="20" align="left"
    valign="top"><select
    > name="SUBJECT">
    > <option selected="selected">Please choose a
    > subject:</option>
    > <option>I'd like you to write for my
    publication.</option>
    > <option>I'd like to reprint something you've
    > written.</option>
    > <option>I have a general question about your
    > work.</option>
    > <option>I'm having trouble with this
    site.</option>
    > </select>
    > </td>
    > </tr>
    > <tr>
    > <td width="130" height="204" align="right"
    valign="top"><div
    > class="contactSplash">
    > <label for="message"> your message: </label>
    > </div></td>
    > <td width="308" align="left"
    valign="top"><textarea
    > name="message"
    > cols="35" rows="10" id="message"></textarea>
    > <input class="button" name="submit" type="submit"
    > id="redirect"
    > value="send email" />
    > <input class="button" name="reset" type="reset"
    id="reset"
    > value="reset form" /></td>
    > </tr>
    > </table>
    > </form>
    >

  • How Do I Insert 2 Email Forms in a Flash Site

    Let's say I wanted to have 2 email forms in a flash site. One to go to one inbox and another to go to another inbox. That's easy enough to do by editing the PHP, but not the AS3. The following code works for the first email form, but not the 2nd because of duplicate actions.  So my question is, "What do I need to edit in the following AS3 code to get it to submit a second form?"  Thanks.
    [as]
    stop(); 
    contact_name.text = contact_email.text = contact_subject.text =  contact_message.text = message_status.text = ""; send_button.addEventListener(MouseEvent.CLICK, submit);
    reset_button.addEventListener(MouseEvent.CLICK, reset); 
    var timer:Timer;
    var var_load:URLLoader = new URLLoader;
    var URL_request:URLRequest = new URLRequest( "send_email.php" );
    URL_request.method = URLRequestMethod.POST; 
    function submit(e:MouseEvent):void
        if( contact_name.text == "" || contact_email.text == "" ||
            contact_subject.text == "" || contact_message.text == "" )
            message_status.text = "Please complete all text fields.";
        else if( !validate_email(contact_email.text) )
            message_status.text = "Please enter a valid email address.";
        else
            message_status.text = "sending...";
            var email_data:String = "name=" + contact_name.text
                           + "&email=" + contact_email.text
                           + "&subject=" + contact_subject.text
                           + "&message=" + contact_message.text;
            var URL_vars:URLVariables = new URLVariables(email_data);
            URL_vars.dataFormat = URLLoaderDataFormat.TEXT;
            URL_request.data = URL_vars;
            var_load.load( URL_request );
            var_load.addEventListener(Event.COMPLETE, receive_response );
    function reset(e:MouseEvent):void
        contact_name.text = contact_email.text = contact_subject.text =
        contact_message.text = message_status.text = "";
    function validate_email(s:String):Boolean
        var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
        var r:Object = p.exec(s);
        if( r == null )
            return false;
        return true;
    function receive_response(e:Event):void
        var loader:URLLoader = URLLoader(e.target);
        var email_status = new URLVariables(loader.data).success;
        if( email_status == "yes" )
            message_status.text = "Success! Your message was sent.";
            timer = new Timer(500);
            timer.addEventListener(TimerEvent.TIMER, on_timer);
            timer.start();
        else
            message_status.text = "Failed! Your message was not sent.";
    function on_timer(te:TimerEvent):void
        if( timer.currentCount >= 10 )
            contact_name.text = contact_email.text = contact_subject.text =
            contact_message.text = message_status.text = "";
            timer.removeEventListener(TimerEvent.TIMER, on_timer);
    [/as]

    Wouldn't you just change instance names completely?

  • I CANNOT GET EMAIL FORM MY HOTMAIL TO MY bb; CANYOU HELP

    i CANNOT GET EMAIL FORM MY HOTMAIL TO MY bb; CANYOU HELP

    Hi there!
    There are a multitude of questions/answers to go through to help you out, but those won't work unless you come to the forums and register an account. Please come to:
    http://supportforums.blackberry.com/rim/
    and register an account. Then post to the applicable forum.
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problems with contact email form

    Hi there,
    So I've been having lots of problems with getting an email form to work in my flash website.
    The contact email form I've been attemping to get to work can be found here:
    http://www.webdesignmo.com/blog/2008/08/14/flash-contact-form-in-actionscript-3/
    When I start a new flash movie from scratch and follow the instructions on the site, everything works great. However, when I try to create this form within a movie symbol within my current flash site, nothing works at all. I've tried placing the submit button within the movie symbol and without and neither works. I guess my question is, why would this happen? In which circumstances would placing a form like this inside of a movie prevent the form from functioning? For instance, when I tes tthe movie, fill out the form and press the submit button, nothing happens.
    Can I get some advice for whether I need to rethink implementing this form into a current flash video and what things I should check for?
    Thanks so much!
    Using CS3 btw.

    you probably have path problems.  use the trace() function to help debug your flash.

  • Dreamweaver email form validate

    I have a basic form that I have validated using Dreamweaver 5.
    Is there a way to make the email field work so it must have the "@" and ".com". The way it is now it works for the email field if you type in test@gmail
    Thanks.

    I am validating to make sure the "name" and "questions" field are complete. Here is the code for the form:
    <form data-mailform-error='error-messages' data-mailform='f592bb357e9f87206571aab80c0c484c670d28d3' id='contact' name='contact' method='post' novalidate='true' action='php/contact.php'>
                              <div id='message-wrapper'>
                                <div class='hidden mailform-error'>
                                  default error
                                </div>
                                <div class='hidden mailform-success'>
                                  default success
                                </div>
                              </div>
                              <fieldset>
                                <div class='inputs'>
                                  <div class='input'>
                                    <label for='message[name]'>Name*</label>
                                    <input class='required-field' name='name' id='name' required='true' type='text' size="20" />
                                  </div>
                                  <div class='input'>
                                    <label for='message[mail]'>E-Mail*</label>
                                    <input class='required-field' name='email' id='email' required='true' type='text' size="20" />
                                  </div>
                                  <div class='input'>
                                    <label for='message[body]'>Questions/Comments*</label>
                                    <textarea class='required-field' name='question' id='question' required='true' rows="1" cols="20"></textarea>
                                  </div>
                                </div>
                                <div class='actions'>
                                  <input name="submit" type='submit' class='input-button' id='submit' onClick="MM_validateForm('name','','R','email','','RisEmail','question','','R');return document.MM_returnValue" value='submit' />
                                  <p class='required-message'>All fields marked with an * must be completed</p>
                                  <div class='hidden mailform-loading'></div>
                                </div>
                              </fieldset>
                            </form>
    Here is the code for the validating I got from Dreamweaver that is on the page with the form (and is working great). I just want to add the bit so the email form must have a "." and at least 2 letters after it.
    <script src="javascripts/jquery.js"></script>
        <script>
    window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js">\x3C/script>')
    function MM_validateForm() { //v4.0
      if (document.getElementById){
        var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
        for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
          if (val) { nm=val.name; if ((val=val.value)!="") {
            if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
              if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
            } else if (test!='R') { num = parseFloat(val);
              if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
              if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
                min=test.substring(8,p); max=test.substring(p+1);
                if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
          } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
        } if (errors) alert('The following error(s) occurred:\n'+errors);
        document.MM_returnValue = (errors == '');
        </script>
    Thanks again!

  • Hello, I am trying to build a pizza menu where i can click on a pizza pic or link and than this selction is added to a muse email form, without the users need to retyp it. Anybody know how to do that? thank you for your help Peter

    I would like to know how to add a selection form a website to an muse email form with out the user to having to enter it but only clicking on the selected item. This is for a pizza menu.

    You can try this :
    http://www.qooqee.com/adobe-muse-widgets/astrolabe-muse-menu
    Thanks,
    Sanjit

  • BP address data in  Email form

    Hello,
    When I create a campaign with communication channel as "email", how can I automatically add business partner address data ( Those BP's which are in the target group) when sending emails?
    Is there a standard functionality available?
    thanks in advance.

    Hi,
    You can use the Personalized mail functionality of the CRM for adding BP address in the email form. This is the standard functionality of the CRM 5.0.
    In t code CRMD_EMAIL while creating the text of the mail form drag and drop address attributes from the left hand side Object / Attribute Business partner.
    In Business partner Object you will get all the fields of the Business Partner including Street1 street2 City, POBox etc. Drag and drop these attributes wherever you want on the mail form text.
    Hope this will help.....
    Rgds
    Mallikrjun

  • How can i transfer all my datas and email form old Mac G5 to new iMac ?

    How can i transfer all my datas and email form old Mac G5 to new iMac ?

    Generally Mugration Assistant will suffice importing all Data ito a new user, but you can manually import it...
    Users/YourUserName/Library/Mail
    Users/YourUserName/Library/Mail Downloads
    (Could be a different folder here if you chose such in Mail Prefs)

  • Little help with making an email form.

    can any of you lovely, lovely people point me in the
    direction of a good Dreamweaver CS3 tutorial on how to make an
    email form. Preferably one with a "conform email address" text
    field.
    Thanks all!
    P.S. I have tried looking.

    There is god general training available at www.lynda.com .
    Its $25 a month for online video viewing. The title is called
    Dreamweaver CS3 - Beyond the Basics.
    I also would recommend a free form mail solution like
    www.tectite.com which I have used before. It is more powerful that
    the spry widget in dreamweaver, but is on the server side and not
    the user application side.

  • Master-Detail Form Questions

    Master-Detail Form Questions
    I have two questions in regards to master-detail forms:
    First, the form I am working on has 25 detail rows displayed to the user. If the user has more than 25 detail records for the master, I want them to be able to add more. For instance, after they enter the 25th record, I would like a pop up window to ask them if they would like to add more detail records for this master. If they select yes, then the records they have entered would be saved and then the form would repopulate with the current master record and another empty 25 detail records.
    Second, I would like the Detail Action to be set to Insert if the user moves to a new detail row and selects an item from a combo box.
    Thanks for any and all help.
    Jeremy.

    Hi Sharmila.
    Is there a way to repopulate only the Master information without populating the detail after the 'Save' button is pressed? I have written code that uses the session variables and repopulates the form with all the data that has just been saved, but I need only the master without the detail.
    Thanks.

Maybe you are looking for