Simple contact form that emails resutls

Hi Folks,
using jdev 11.1.1.3
I need to construct a simple contact form that takes the results of the input boxes and emails it to a specified reciptient. It should be easy but I can't find any references to constructing such an app anywhere in the documents. Can someone point me to a simple tutorial that may exist out there?
Thanks much,
Pat

You probably need to write some Java class that will do the email sending using Java Mail:
http://www.oracle.com/technetwork/java/index-jsp-139225.html
Then you can expose this class as an ADF data control and bind a JSF page to that method.

Similar Messages

  • I, and my clients, want a VERY simple contact form hosting option...

    There's no need for us to have data collected and analyzed. No need for yet another hosting service to store data we'll NEVER use.
    I've already got a hosting service for my site. My clients already have hosting for their sites. None of us are willing to spend another
    dime to have a second hosting system for anything. Don't care. Don't want it. LOVE the Muse forms and the ease with which I can
    modify them to look the way I want them to, but that all adds up to jack squat if they don't work.
    All we're looking for is a simple contact form that allows users to fill in a couple of form fields, add a little message and hit send.
    My clients want to have at the most, about 5 different email addresses set up so they can keep the information organized a bit on their end.
    They may get at most about 300-500 emails a month at a peak time of the year.
    That's not too much to ask is it?
    I mean, if I use the "Upload to FTP host" feature in Muse, what's so hard about adding a bit of code that uses that server space to pass along
    a few messages to a mailbox?
    Can't we just set up a BASIC contact form that is just creating an email and sending it to an email address with a preformatted message based
    upon the form fields we add to the widget? Something like this:
    Name: John Smith
    Email: [email protected]
    Phone: 555-555-5555
    Message: You guys are a great little company, thanks for being so swell.
    Dat be all we want yo! Hook us up mang!
    For $15 dollars a month that I'm paying to use Muse, there oughta be something like that in the form widget panel! Dang!
    Really have a bad taste in my mouth with this whole attempt to channel people into Business Catalyst... That might be great
    for some of your customers, but odds are, not really... The majority of Muse users are likely to be designers that want to have
    a bit more control over their clients image/brand, and want to have less painful ways of keeping up with the advancements in
    webdesign/development without having to learn new code crap every few months!
    So let's not be too greedy and accidentally paint some of your customers into a corner and try to get them to pay you more
    money for services they don't need, and probably don't want.
    I've recommended Muse to a few designer friends of mine, and their comments are all the same: Love Muse for the ease of
    use in designing websites, hate the idea of Business Catalyst. "Feels like a ball and chain, but worse because I have to pay for it."
    Yeah, time to rethink your plan a bit folks?
    Simple Muse Form Widget. Get on it! It would be VERY nice of you to do so!

    I do agree and have posted a few times on this. It would be nice not to be tied down with another hosting subscription. It would be better if instead of having to pay for BC hosting with different plan pricing they could have different pricing for Muse with different feature options. I would pay more for Muse to use the form feature freely on any server I choose because like you said the form widget is great for making really custom forms, but that ease of use should come at a cost because it is so sought after.
    I am getting sick of people wanting everything for free just because it is there and they want it so badly but think they shouldn't have to pay for it because it is not in their budget.
    Muse should have different tiers with different feature options and not force BC on users. BC is a great solution for people without hosting or users that are not familiar with setting up their own servers but for the ones that do have their own servers and are comfortable with using them feel tied down.

  • Editing simple contact form...

    When I place the simple contact form widget onto a page, it won't let me delete the "Enter Name" field. All I need is the "Enter Email" input. When is Adobe going to add full form capabilities? That is one of the glaring things missing from Muse.

    Name and Email are the only fields in Adobe Muse forms that are Required by default and you cannot remove them nor can you make them optional. You may use some custom JS code to prepopulate and hide the name field if it is absolutely necessary for your purpose.
    Thanks,
    Vikas

  • ColdFusion contact form by email - please help

    Hello,
    I tried to create a contact form, using email to send, and I
    have some issues and questions:
    1. I like to have a message "Your form has been sent", but it
    shows the blank after user submited the form.
    2. If user enter her email address, this form will send to
    her email address and me, but it does not send to her email
    address.
    Can anyone please take a look at my code below?
    Why I don't get the output (result) I like to have?
    Thanks very much.
    Jenny.
    <cfif IsDefined("form.Subject")>
    <cfprocessingdirective suppresswhitespace="no">
    <cfmail subject="#form.Subject#" from="#form.From#"
    to="[email protected]" >
    This is a message from that form...
    #form.Message#
    </cfmail>
    </cfprocessingdirective>
    <cfelse>
    <cfform action="#CGI.SCRIPT_NAME#" method="post"
    name="frmName">
    name <cfinput type="text" name="Name" size="20"><br
    />
    email <cfinput type="text" name="Email"
    size="20"><br />
    Subject <cfinput type="text" name="Subject"
    size="20"><br />
    Message <textarea name="Message" cols="30" rows="3"
    ></textarea><br />
    <input type="submit" value="Submit it" />
    </cfform>
    <cfif isDefined("FORM.Name")>
    <cfmail subject="#form.Subject#" from="#form.From#"
    to="#Email#" >
    </cfif>
    <cfif isDefined("FORM.Submit")>
    <p>Your message has been sent</p>
    <cfelse>
    <cflocation addtoken="no" url="survey2.cfm">
    </cfif>

    I always start my troubleshooting with
    <cfdump var="#form#">
    <cfabort>
    You also have a problem with an cfmail tag without the
    closing tag. I'm surprised that didn't cause a crash.
    You also have some problems with your if/else logic.

  • Is there a way to remove fields from a "Simple Contact" form?

    What I am looking to do is create a "subscribe to newsletter" form where the user only has to enter their email address. I don't want them to have to enter their name or write a message. Does anyone know if it is possible to alter the simple contact form?
    Please see photo for what I am looking to create.
    Thank you for your time.

    Hi Kurt,
    What I ended up doing was creating the form in Muse then bringing the html page into Dreamweaver and removing the name field. It works but can be kind of a pain if you want to make changes to the design part in Muse because you have to go back into dreamweaver and remove the name field again every time you export. I'm glad to hear the next major release will no longer require a name field.
    It would be nice if we could play with the code behind muse within muse. It would make life easier especially when inserting google analytic tracking for pdfs. ;-)

  • What are the best customizable contact forms that work with Godaddy?

    Hello,
    I have never had much look with getting contact forms to work but i'm not sure whether it may just be the contact forms i choose don't work through Godaddy that well.
    Can anyone point me in a direction to any customizable contact forms that do work through Godaddy. PHP script needs to be included.
    Any help would be greatly appreciated as this has bugged me for some time now.
    Alex.

    Depends on the level of hosting you have.
    Using Our PHP Form Mailers on Web & Classic Hosting | GoDaddy Help | GoDaddy Support
    GoDaddy hosts 2 form-to-email processing scripts in PHP.  You activate them from your CPanel.
    One is super basic and the easiest to set-up
    Using gdform.php
    The other has a little more room for customization but it isn't exactly robust.
    Using webformmailer.php
    Nancy O.

  • Adobe muse CC contact form not emailing correctly

    the adobe muse contact form not emailing to address in form. it's correct within form, link in Muse, and the address is correct within web hosting files. please advise. thx

    Responded to your other thread - http://forums.adobe.com/message/5555450#5555450.
    Thanks,
    Vinayak

  • I would like to create a simple vote form that members can hit the reply button and record their preference in a check box. Is this possible on iPad?

    I would like to create a simple vote form that members can hit the reply button and record their preference in a check box. Is this possible on iPad?

    Go to the App Store and search on "Forms Management".
    There are a lot of candidates.

  • Simple contact form php error

    I just replaced an adobe formscentral contact form with the muse simple contact form. It is not working, receiving a php server error when submitting. How can I fix this?? I'm hosting through Amazon Route53.
    Issue is here: CONTACT

    Hi,
    I was able to submit the form, kindly let me know if you are still facing the issue.
    Regards
    Sonam

  • Simple Contact form in Site Studio

    I'm trying to build a simple Contact Us form in a Site Studio website. I've built the front end form using the FCK editor, but I'd like to be able to email the form data. Does IdocScript have built in functions to handle emailing form data? I don't want to store it on Content Server, or check any documents in, just email the data.
    Right now I just have the form action pointing to PHP script I host outside the Content Server, but it seems like it would be cleaner if this could just submit back to the Content Server.
    Thanks,
    -Jason

    If you want use something existing or out-of-the-box (OOTB), the "easiest" way would be to post to the SUBMIT_HTML_FORM idcservice. When the form is submitted, a copy of the form is checked into the content server, which you can then have subscriptions alert users via email.
    Here is some help on getting forms to work via the SUBMIT_HTML_FORM idcservice if you don't know what I'm talking about. I wound up implementing this [almost] exact solution about 1.5 years before Kyle's post - just tooting my own horn here :) - but props to Kyle explaining it pretty well. There are many tweaks that can be made, but it works quite well on a fundamental level. You can see some of the "issues" I'm still running into by reading my (Andrew) comments, but you're using the same editor that Kyle did, so you shouldn't run into any of the issues I did.
    I also went one step further by writing my own email (using javamail) idoc function and calling it anytime a new form was submitted. This is obviously something that is not OOTB and reserved for advanced discussion.
    Good luck!
    Edit: Stupid "insert a link" doesn't work. Use standard HTML tags to insert hyperlinks.

  • URGENT!  Building Forms that email a response

    I want to build forms that, when filled in, will send an email of the persons answers to the designated person. For example: We have a marketing section on our Intranet aimed at our sales force. We need to include an order form for particular marketing collateral that when submitted will send a simple informational email to our fulfillment center.
    I have run a simple test with a sample procedure using UTL_SMTP and it works, I'm just not sure how to tie the form to the code. Anybody have experience with this? How do I pass the form variables to the procedure?

    Hi,
    You can bind it with form by making it a form on procedure and so you can send both the text as well as the person whom to send the mail from the form to that procedure.The procedure should be able to take care of sending the mail(the procedure what u have wriiten can be used).
    You can also go trough the following forum answers for code of how to do it.
    Maximum Availability Architecture for Collaboration Suite
    SHP2SDO for linux
    Hope this will help you.
    rahul

  • Contact Form with Email PHP not working?

    Hello !
    Here is a link to my contact form:
    http://bayareafacepainters.com/quote_face_painting.html
    Here is the tutorial I am following to set up the Form to Email PHP
    http://www.freecontactform.com/email_form.php
    My form is not working. It is not sending me the email, and the "Thank you for contacting us page" is not showing up either. Is this a simple fix? I am not an expert coder, any help on what I am doing wrong or missing would be helpfull!

    Thank you for the suggestions... I cleaned up the names, and so I guess I am supposed to match the names in the form  to the PHP, so I changed the PHP to reflect the names of the fields in the form... it seems there may be more areas where I need to do this... What else does this need to work properly?
    http://www.bayareafacepainters.com/quote_face_painting.html
    <?php
    if(isset($_POST['email'])) {
        // EDIT THE 2 LINES BELOW AS REQUIRED
        $email_to = "[email protected]";
        $email_subject = "Face Painting Quote";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['Name']) ||
            !isset($_POST['Email']) ||
            !isset($_POST['Phone']) ||
            !isset($_POST['Contact_Preference']) ||
            !isset($_POST['Contact_Preference']) ||
            !isset($_POST['Date']) ||
            !isset($_POST['Time']) ||
            !isset($_POST['Location']) ||
            !isset($_POST['Guests']) ||
            !isset($_POST['Age']) ||
            !isset($_POST['comments'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');     
        $Name = $_POST['Name']; // required
        $Email = $_POST['Email']; // required
        $Phone = $_POST['Phone']; // required
        $telephone = $_POST['telephone']; // not required
        $comments = $_POST['comments']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$first_name)) {
        $error_message .= 'The First Name you entered does not appear to be valid.<br />';
      if(!preg_match($string_exp,$last_name)) {
        $error_message .= 'The Last Name you entered does not appear to be valid.<br />';
      if(strlen($comments) < 2) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "First Name: ".clean_string($first_name)."\n";
        $email_message .= "Last Name: ".clean_string($last_name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Telephone: ".clean_string($telephone)."\n";
        $email_message .= "Comments: ".clean_string($comments)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers);
    ?>
    <!-- include your own success html here -->
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>

  • How do I create a contact form that will work with Godaddy???

    hello,
    Godaddy hosts my website and i can not get any type of contact form to work! When I publish to my .mac account it works fine, using the HTML snippet, however when I publish the exact same file to the Godaddy server it doesn't even show up. Anyone have any idea how I can resolve this? should i change hosting companies?? godaddy says that it is not there issue...

    One reason why it would not show is if not all your files have been uploaded. How are you uploading?
    If you are using Cyberduck or Transmit, you can actually check that the relevant files have been uploaded to the server. If uploading that page with the form on it, then ensure that you upload both the html page, plus the files folder that goes with it.
    Are you using Windows or Linux hosting? Linux hosting is preferable for iWeb.
    If you use GoDaddy they have facilities for you to use FormMail, so you can upload this directly to your hosting space and then create your own form using html code in an html snippet and then upload. You have more options if you do it this way and you have more control. If you use a third party such as Wufoo, everything is stored on their servers and if their servers go down for any reason you have not workable form.

  • Help with a simple contact form.

    Hi there..
    I am having trouble making a contact form with a servlet. I have a Fedora Core Linux Box running ddns..
    My internet account is sympatico.. which a username and password is required to send out with smtp..
    I need help creating a servlet and I have java mail also..
    This is what I have so far...
    I have more info below
    <form class="formContactus1" name="formContactus1" method="post" action="/SendMail" onsubmit="validerForm();">
                                                      <table id="tblContactus">
                                                           <tbody><tr>
                                                                <td class="tdLeft">
                                                                     <label><fmt:message key="Form_firstname" /></label>
                                                                </td>
                                                                <td class="tdRight">
                                                                     <input class="contactTextName" id="last_name" name="last_name" maxlength="100" type="text">
                                                                </td>
                                                           </tr>
                                                           <tr>
                                                           <td class="tdLeft">
                                                                <label><fmt:message key="Form_lastname" /></label>
                                                           </td>
                                                           <td class="tdRight">
                                                                <input class="contactTextName" id="first_name" name="first_name" maxlength="75" type="text">
                                                           </td>
                                                      </tr>
                                                      <tr>
                                                           <td class="tdLeft">
                                                                <label><fmt:message key="Form_email" /></label>
                                                           </td>
                                                           <td class="tdRight">
                                                                <input class="contactTextName" id="email" name="email" maxlength="75" type="text">
                                                           </td>
                                                      </tr>
                                                           <tr>
                                                                <td class="tdLeft" valign="top">
                                                                     <label><fmt:message key="Form_message" /></label>
                                                                </td>
                                                                <td>
                                                                     <textarea class="contactTextMessage" id="message" cols="" rows="" name="message"></textarea>
                                                                </td>
                                                           </tr>
                                                      </tbody></table>
                                                      <!-- This is the anti-spam validation images... -->
                                                      <table id="tblCaptcha">
                                                           <tbody><tr>
                                                                <td class="right" id="tdImgCaptcha"><img style="height: 35px;" src="/captcha/img"></td>
                                                                <td class="right" id="tdInputCaptcha"><input name="captchaAnswer" type="text"></td>
                                                           </tr>
                                                           <tr>
                                                                <td class="right" colspan="2" valign="bottom">
                                                                     <input id="contactSubmit" name="send" value="<fmt:message key="Form_submit" />" type="submit">
                                                                </td>
                                                           </tr>
                                                      </tbody></table>
                                                 </form>

    You forgot to tell the details about the trouble. Please elaborate. What happens? What happens not?
    Please also read this how to ask questions the smart way: [http://www.catb.org/~esr/faqs/smart-questions.html].

  • Please point me in the right direction regarding forms that email to me

    I really want to learn how to program a basic form - Name, email, and message. I know how to create the
    webpage that has the boxes you type in using dreamweaver. But i need a little direction to get past that point.
    Here are my questions:
    1) What programming language is easiest to learn that will allow me to finish my email form?
    2) Do you know of any web resources that i can go to to help me get started with that programming language?
    Thank you!

    AndrewMichel1 wrote:
    Thank you both, i will stick to PHP and check out lynda.com to get started!
    One more question, what kinds of other things can you program with PHP?
    You can program lots of things and make modifications to existing scripts as well.  Typically most people work a lot with information in databases and use a language like PHP to process the information and print it into HTML.  For instance, if you want to keep printing results from mySQL as a table you would make a loop in PHP to keep printing:
    <tr><td>$row['var1']</td><td>$row['var2']</td></tr>
    For each row of results.  That is a very simplified version that wouldn't work without other coding so it's just an example.  A lot of times there are pre-made scripts in the case of a forum like this where you should consider open source or commercially available solutions.  And if you want to get even more complicated you can build a facebook from scratch and use PHP interactions with client-side scripting (Javascript) and libraries like JQuery. 

Maybe you are looking for

  • Windows Server 2008 R2 Network Unauthenticated

    Hi all, So I have an odd problem. Wanted to see if anyone had any ideas. I have a client network that has Three locations. HQ, Branch 1 and Branch 2. All connected over IPSEC VPN Tunnels. Each Branch Office has 1 domain controller. The HQ location ha

  • Tried uninstalling but it wont fully uninstall yet i cant use it, but it opens PDF files instead of PDF looking regular

    I had the trial version and went to uninstall it off of my computer once i decided i wouodnt be using it, It says thats its still installed on my computer and then when i go to hit uninstall again it wont do it. It runs an error. I notice that when I

  • Nforce2 mobo doesn't post

    It clears the CPU check, reads the ddr clock as 333 accurately, then stops. The hdd I'm using use to be in my kt3 ultra2 system, but I killed the mobo on accident before I could I reformat the drive or anything.... do you think the via drivers on the

  • Theme use not working... what am I missing?

    Hello All, I am attempting to style an inputText component. I want to limit the style to just one panel, so I've decided to use a theme. In web.xml I've added the following two context entries: <context-param> <param-name>oracle.adf.view.rich.tonalst

  • Bootcamp can't choose NTFS

    I have tried to install Bootcamp with Windows XP four times now and never has it asked me (during the Windows installation with the blue screen) if I want to reformat the disk to NTFS. I choose a partition between 91-99GB, so I must use NTFS. The onl