Tutorials for creating php mail forms?

Hi,
Are there any free on line tutorials available for building a
php mail form which I can put into my web site, which also include
info on how to hook the form into the php server for processing?
Possibly including Captcha?
Lynda.com has a good one for Dreamweaver 4, but they don't
cover tying the form into the php engine or captcha.
I'd rather build my own rather than buying a script and want
to learn, and I am still new to php.

Why not just take an existing script and modify it?

Similar Messages

  • How to create the Mail forms

    Hi All,
      Actually i am very new to Mail form . i got the requirement as i need to create the Mail form form sending the mail through campaig as well as i want to print the same form so please help me out how to do this, please help me out by providing some step by step process for creating the mail form and some technical stuff for printing the form
    Regatds
    Mohan

    Hi,
    Creating Mail form is multi stage. Have you created any survey.
    I believe its for CRM 7.0. Broad steps are
    1.Enter the CRM WebClient UI
    2.SAP CRM WebClient menu Marketing >> Create: Mail Form
    Mail Form for E-Mail
    1.On the Mail Form: New screen enter the following values:
    Field name     User action and values
    ID     Y_TRADE_SHOW_INVITATION
    Description     Trade Show Invitation
    Language     Original:English
    Usage     Internet Mail (HTML)
    Attribute Context     ERMS
    Subject     Trade Show Invitation
    2.In the Text Element screen area you can freely define the content of your e-mail in the text element.
    3.Choose New Text Element, enter the following data for the e-mail form text block and choose Create:
    Field name     User action and values
    Text Element ID FORM_LETTER
    Description Invitation
    Format HTML
    4.Enter a text for the new text element FORM_LETTER and design it according to your needs.
    If you want to upload a pre-defined text from an external source, choose Load Local File.
    5.In order to insert the generated survey URL into the text, choose Hyperlink.
    6.In the Insert Hyperlink web page dialog enter the following values and choose Insert:
    Field name User action and values
    URL <surveyURL>
    Description     Information Survey
    URL Category     
    Tracking Option Via Target Site
    7.Save your new mail form.
    Hope it helps.
    Rgds,
    Rajiv

  • Create a mail form for Marketing

    Hi,
    I want to create a mail form in Marketing, but before loosing my time trying to understand how it works, it would be very useful if some one has a guide or anything similar to do step by step a nice mail form, with pictures, logos, ....
    If so send it please to [email protected]
    Rewards points if helpful.
    Thanks,
    TPT

    Hi,
    The steps to create a mail form in marketing is available in the Best Practices for Lean Campaign Mangement C22 in the following link http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm
    I understand that you dont want to lose time to understand how it works, but to be good at the job you need to know it and the only way to know it is to do it yourself without help as it will be very good learning for you as well
    Regards
    Rekha Dadwal

  • How do i change the path of data ajax false from returning to homepage, when using a PHP mail form in jquery mobile?

    I have a put a php mail form in the quote page of my mobile site. However when i send the form it returns to the route page rather than the quote page, i have used the data ajax false action as i dont want to send via ajax. i have left the thanks page blank as i want it to remain on the same page showing sent or declined message.  Can someone help please? 
    <?php
    // OPTIONS - PLEASE CONFIGURE THESE BEFORE USE!
    $yourEmail = "[email protected]"; // the email address you wish to receive these mails through
    $yourWebsite = "www.firstcalltransport.co.uk"; // the name of your website
    $thanksPage = ''; // URL to 'thanks for sending mail' page; leave empty to keep message on the same page
    $maxPoints = 4; // max points a person can hit before it refuses to submit - recommend 4
    $requiredFields = "name,email,collection,delivery,comments"; // names of the fields you'd like to be required as a minimum, separate each field with a comma
    // DO NOT EDIT BELOW HERE
    $error_msg = array();
    $result = null;
    $requiredFields = explode(",", $requiredFields);
    function clean($data) {
      $data = trim(stripslashes(strip_tags($data)));
      return $data;
    function isBot() {
      $bots = array("Indy", "Blaiz", "Java", "libwww-perl", "Python", "OutfoxBot", "User-Agent", "PycURL", "AlphaServer", "T8Abot", "Syntryx", "WinHttp", "WebBandit", "nicebot", "Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz");
      foreach ($bots as $bot)
      if (stripos($_SERVER['HTTP_USER_AGENT'], $bot) !== false)
      return true;
      if (empty($_SERVER['HTTP_USER_AGENT']) || $_SERVER['HTTP_USER_AGENT'] == " ")
      return true;
      return false;
    if ($_SERVER['REQUEST_METHOD'] == "POST") {
      if (isBot() !== false)
      $error_msg[] = "No bots please! UA reported as: ".$_SERVER['HTTP_USER_AGENT'];
      // lets check a few things - not enough to trigger an error on their own, but worth assigning a spam score..
      // score quickly adds up therefore allowing genuine users with 'accidental' score through but cutting out real spam
      $points = (int)0;
      foreach ($badwords as $word)
      if (
      strpos(strtolower($_POST['comments']), $word) !== false ||
      strpos(strtolower($_POST['name']), $word) !== false
      $points += 2;
      if (strpos($_POST['comments'], "http://") !== false || strpos($_POST['comments'], "www.") !== false)
      $points += 2;
      if (isset($_POST['nojs']))
      $points += 1;
      if (preg_match("/(<.*>)/i", $_POST['comments']))
      $points += 2;
      if (strlen($_POST['name']) < 3)
      $points += 1;
      if (strlen($_POST['comments']) < 15 || strlen($_POST['comments'] > 1500))
      $points += 2;
      if (preg_match("/[bcdfghjklmnpqrstvwxyz]{7,}/i", $_POST['comments']))
      $points += 1;
      // end score assignments
      foreach($requiredFields as $field) {
      trim($_POST[$field]);
      if (!isset($_POST[$field]) || empty($_POST[$field]) && array_pop($error_msg) != "Please fill in all the required fields and submit again.\r\n")
      $error_msg[] = "Please fill in all the required fields and submit again.";
      if (!empty($_POST['name']) && !preg_match("/^[a-zA-Z-'\s]*$/", stripslashes($_POST['name'])))
      $error_msg[] = "The name field must not contain special characters.\r\n";
      if (!empty($_POST['email']) && !preg_match('/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+ ' . '(\.([a-z0-9])([-a-z0-9_-])?([a-z0-9])+)+$/i', strtolower($_POST['email'])))
      $error_msg[] = "That is not a valid e-mail address.\r\n";
      if (!empty($_POST['url']) && !preg_match('/^(http|https):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\ /?/i', $_POST['url']))
      $error_msg[] = "Invalid website url.\r\n";
      if ($error_msg == NULL && $points <= $maxPoints) {
      $subject = "Automatic Form Email";
      $message = "You received this e-mail message through your website: \n\n";
      foreach ($_POST as $key => $val) {
      if (is_array($val)) {
      foreach ($val as $subval) {
      $message .= ucwords($key) . ": " . clean($subval) . "\r\n";
      } else {
      $message .= ucwords($key) . ": " . clean($val) . "\r\n";
      $message .= "\r\n";
      $message .= 'IP: '.$_SERVER['REMOTE_ADDR']."\r\n";
      $message .= 'Browser: '.$_SERVER['HTTP_USER_AGENT']."\r\n";
      $message .= 'Points: '.$points;
      if (strstr($_SERVER['SERVER_SOFTWARE'], "Win")) {
      $headers   = "From: $yourEmail\r\n";
      } else {
      $headers   = "From: $yourWebsite <$yourEmail>\r\n";
      $headers  .= "Reply-To: {$_POST['email']}\r\n";
      if (mail($yourEmail,$subject,$message,$headers)) {
      if (!empty($thanksPage)) {
      header("Location: $thanksPage");
      exit;
      } else {
      $result = 'Your mail was successfully sent.';
      $disable = true;
      } else {
      $error_msg[] = 'Your mail could not be sent this time. ['.$points.']';
      } else {
      if (empty($error_msg))
      $error_msg[] = 'Your mail looks too much like spam, and could not be sent this time. ['.$points.']';
    function get_data($var) {
      if (isset($_POST[$var]))
      echo htmlspecialchars($_POST[$var]);
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="CSS/stylesheetnew.css" rel="stylesheet" type="text/css">
    <link href="../jquery-mobile/jquery.mobile-1.0a3.min.css" rel="stylesheet" type="text/css">
    <script src="../jquery-mobile/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../jquery-mobile/jquery.mobile-1.0a3.min.js" type="text/javascript"></script>
    <style type="text/css">
      p.error, p.success {
      font-weight: bold;
      padding: 10px;
      border: 1px solid;
      p.error {
      background: #ffc0c0;
      color: #F00;
      p.success {
      background: #b3ff69;
      color: #4fa000;
    </style>
    </head>
    <body>
    <div data-role="page" id="home">
      <div data-role="header" data-position="fixed">
       <h1>FIRSTCALL TRANSPORT</h1>
    </div>
        <div data-role="navbar" data-position="fixed">
                                    <ul>
                                      <li><a href="#about">About</a></li>
                                      <li><a href="#services">Services</a></li>
                                      <li><a href="#contact">Contact</a></li>
                                      <li><a href="#quote">Quote</a></li>
                                    </ul>
      </div>
      <div data-role="content"> </div>
         <div data-role="footer" data-position="fixed" > </div>
    </div>
    </div>
    <div data-role="page" id="quote">
      <div data-role="header" data-position="fixed">
        <h1>GET A QUOTE</h1>
      </div>
      <div data-role="content">
       <?php
    if (!empty($error_msg)) {
      echo '<p class="error">ERROR: '. implode("<br />", $error_msg) . "</p>";
    if ($result != NULL) {
      echo '<p class="success">'. $result . "</p>";
    ?>
    <form action="<?php echo basename(__FILE__); ?>" method="post" data-ajax="false"  >
    <noscript>
      <p><input type="hidden" name="nojs" id="nojs" /></p>
    </noscript>
    <p>
      <label for="name">Name: *</label>
      <input type="text" name="name" id="name" value="<?php get_data("name"); ?>" /><br />
      <label for="email">E-mail: *</label>
      <input type="text" name="email" id="email" value="<?php get_data("email"); ?>" /><br />
            <label for="company">Company:</label>
      <input type="text" name="company" id="company" value="<?php get_data("company"); ?>" /><br />
      <label for="collection">Collection: *</label>
      <input type="text" name="collection" id="collection" value="<?php get_data("collection"); ?>" /><br />
        <label for="delivery">Delivery: *</label>
      <input type="text" name="delivery" id="delivery" value="<?php get_data("delivery"); ?>" /><br />
      <label for="comments">Message: *</label>
      <textarea name="comments" id="comments" rows="5" cols="20"><?php get_data("comments"); ?></textarea><br />
      <input type="submit" name="submit" id="submit" value="Send" <?php if (isset($disable) && $disable === true) echo ' disabled="disabled"'; ?> />
    </p>
    </form>  </div>
         <div data-role="footer" >  </div>
      </div>
      </div>           
    </body>
    </html>

    My wife has left me for four weeks, favouring to be with our son who lives 4,000 km away. I now have to cook for myself and the steaks taste horrible. What am I doing wrong?
    If you do not know what I have (not) done to make the steak taste horrible, my question is as hard to answer as your question above.
    Please give us more info like giving us the code that sends the page to the homepage rather than to the previous page.

  • Were to find tutorials on create php product page and listing of products

    does anyone know were to find tutorials on create php product page with more then one image and a listing of products. Only to show not to buy products its basical to show products and to list them. Its to be done in dreamweaver can anyone help me Im having problems finding something.
    many thanks
    Richard

    What you're proposing to do is not particularly difficult, but nor is it something that can be taught in a quick online tutorial.
    The first problem you face is that Dreamweaver's PHP server behaviors were removed from Dreamweaver CC because they use deprecated code. The code still works, but it's scheduled to be removed from PHP at some future stage. A lot of online tutorials (as well as published books) also use the deprecated code. So, unless you know what you're doing, you could easily end up learning to do something that will need to be completely redone when the deprecated code is finally removed from PHP.
    How you handle this depends on your existing skills and budget. To the best of my knowledge, Adobe doesn't have immediate plans to replace the PHP server behaviors with updated code. If you don't have experience with PHP, you might want to consider buying commercial Dreamweaver extensions to handle this for you. DMXZone has some excellent PHP data extensions, but they're not cheap. I'm not sure whether WebAssist has updated its data extensions yet, but again, they're not cheap.
    If you're willing to do some hand-coding, you might find my beginner PHP courses on lynda.com give you sufficient confidence to build the solution yourself. If you don't have a subscription to lynda.com, you can get 7 days unlimited access to all courses (disclosure: this is an affiliate link). If you prefer written material, my PHP Solutions, 2nd Edition, covers all the PHP/MySQL skills you'll need to accomplish this task. It was written four years ago, but avoids using the deprecated code.
    Whichever route you decide to take, make sure the solution uses either MySQL Improved (MySQLi) or PDO. You'll be wasting your time trying to pursue a solution that uses PHP's original MySQL functions.
    Good luck.

  • HTML Editor for creating e-mail templates for SAP Cloud for Customer

    Hi Techies,
                     Is there any preferred software for creating e-mail templates to use with SAP Cloud for Customers ? I mean to avoid unnecessary errors when creating standard e-mail template which are recognized unified manner within the system.
    Will appreciate with rewards points for best support.

    Here is a template for the wire-frame that we used. We went with pure HTML tables so that the response could be multi-client compatible. We found that additional code caused issues with certain clients. In the middle table, we had linked icons to our respective self serve properties and additional support options for Chat and our own Support Community.
    The content of the email will be placed where #Text# is. Our email responses include the content and the basic signature. We also provide our detailed legal disclaimer at the bottom with additional links if needed.
    Let me know if you have any questions.
    Thanks!
    Josh
    <font face="Trebuchet MS, Arial, Helvetica, sans-serif" size="2">
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:50px;">  </td>
        <td style="border: 1px solid #9b9b9b; border-bottom: none;">
           <div style="color: #6a6a6a; display: block; margin: 10px; padding: 10px;">#Text#<!--Placeholder for email content.--></div>
          <p style="color: #6a6a6a; display: block; margin: 10px; padding: 10px;">Chat:       <br />
          Support Community: <br />
          Customer Care: </p>
        <p> </p></td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:500px; border: 1px solid #9b9b9b;">
    <table width="100%">
      <tr>
      <td width="50" valign="middle"><!--Include links to self serve options here--><img src="XXXXX" alt="XXXX" title="XXXX" style="border:0 none;" /></a></td>
            <td valign="middle">
            <p style="color: #6a6a6a; display: block; margin: 5px;"><!--Include links to self serve options here-->Support is also on: &#13;
      </td>
      </tr>
    </table>
        </td>
        <td style="border-right: 1px solid #9b9b9b;"> </td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:50px;">  </td>
        <td border="1" style="border: 1px solid #9b9b9b; border-top:none;"><p> </p>
        <p style="color: #6a6a6a; display: block; margin: 10px; padding: 10px;"><strong>NOTICE:</strong> Legal Disclaimer   Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse a
    magna non libero accumsan luctus. Donec purus metus, mollis nec
    commodo ac, hendrerit pulvinar lectus. Sed quis elit felis. Duis ut
    eros urna. Morbi fringilla nunc vitae enim mollis in sodales nisl
    tincidunt. Etiam orci risus, convallis ut tristique in, vestibulum sed
    ligula. Donec quis sodales purus. Donec dignissim lacus dignissim
    justo fermentum eu volutpat justo consectetur. Fusce metus massa,
    fringilla sed malesuada nec, vulputate quis lectus. Vestibulum et
    venenatis ante. Vestibulum non dui dolor, et tempus magna. Cras
    tincidunt cursus enim, id convallis tortor placerat eu. In in magna ac
    dui pretium placerat. Duis tortor leo, viverra ac tincidunt nec,
    bibendum non nunc.
    Curabitur et turpis vel nulla vulputate ullamcorper id sed eros. Donec
    orci lacus, elementum nec vulputate et, varius id neque. In ac magna
    ac lectus gravida consectetur. Class aptent taciti sociosqu ad litora
    torquent per conubia nostra, per inceptos himenaeos. Etiam egestas,
    diam vitae molestie vestibulum, magna orci ultricies nisi, id luctus
    lorem nulla nec lorem. Donec tincidunt vehicula ipsum eget mattis.
    Donec dictum vulputate mi ut facilisis. Vivamus varius augue fermentum
    libero iaculis quis dictum ante consequat. Aenean luctus massa sit
    amet nulla sagittis id fermentum sem luctus. Vivamus odio diam,
    lacinia ac egestas eget, tincidunt et sem. Sed a ante dui, eu
    scelerisque eros. Nullam et faucibus odio. Nunc posuere auctor sem, ac
    blandit ipsum molestie sit amet. Nullam nec luctus arcu. </p>
        <p> </p></td>
      </tr>
    </table>
    </font>

  • Query for create manual tabular form using apex collection add row button functionality

    Hello everyone
    My requirement is i created a tabular form manually using apex collection but if i click on add row button then previously selected data refreshed and added new row in this form it is fine.but i don't want to refreshed previously selected data and click on add row button then add new row .how it is possible? plz help
    Thanks & Regards,
    Ujwala

    Ujwala
    Instead of starting a new thread with the same question as Query for create manual tabular form using apex collection add row button functionality.
    Could you answer the question about what you see while debug the javascript code.
    If you don't understand the question or have trouble debug javascript let us know.
    Nicolette

  • SMTP Authorization code for PHP Mail Form

    Can anyone help me in figuring out the correct way to incorporate the SMTP authentication into a form? I am having a lot of trouble in getting my forms to send with this format. My code for my php action page is below. I have my correct information where i included *******. Please let me know what i have wrong.
    CODE STARTS HERE
    <?php
    //new function
    $to = "*******";
    $nameto = "LTL Freight Shop";
    $from = "*******";
    $namefrom = "LTL Freight Shop";
    $subject = "Account Request";
    authSendEmail($from, $namefrom, $to, $nameto, $subject, $message);
    ?>
    <?php
    $recipient  = "*******";
    //$subject = "Account Request";
    $companyname = check_input($_POST['CompanyName'], "Enter your company name");
    $firstname  = check_input($_POST['FirstName'], "Enter your first name");
    $lastname  = check_input($_POST['LastName'], "Enter your last name");
    $phone  = check_input($_POST['PhoneNumber'], "Enter your phone number");
    $fax  = check_input($_POST['FaxNumber']);
    $email  = check_input($_POST['Email'], "Enter your email");
    $address  = check_input($_POST['StreetAddress'], "Enter your address");
    $city  = check_input($_POST['City'], "Enter your city");
    $state  = check_input($_POST['State'], "Enter your state");
    $zipcode  = check_input($_POST['ZipCode'], "Enter your zip code");
    $country  = check_input($_POST['Country'], "Enter your country");
    $yearsinbusiness  = check_input($_POST['YearsinBusiness'], "Enter your years in business");
    $typeofindustry  = check_input($_POST['TypeofIndustry'], "Enter your type of industry");
    $multiplelocations    = check_input($_POST['MultipleLocations']);
    $numberoflocations  = check_input($_POST['LocationsCount']);
    $ltl  = check_input($_POST['ServicesLTL']);
    $ftl  = check_input($_POST['ServicesFTL']);
    $domesticparcel  = check_input($_POST['ServicesDomesticParcel']);
    $intlparcel  = check_input($_POST['ServicesInternationalParcel']);
    $airfreight  = check_input($_POST['ServicesAirFreight']);
    $oceanfreight  = check_input($_POST['ServicesOceanFreight']);
    $other  = check_input($_POST['ServicesOther']);
    $none  = check_input($_POST['ServicesNone']);
    $volume  = check_input($_POST['TypicalVolume'], "Enter your typical volume");
    $carrier  = check_input($_POST['CurrentCarrier'], "Enter your current carrier");
    $class  = check_input($_POST['AverageClass'], "Enter your average class");
    $weight  = check_input($_POST['AverageWeight'], "Enter your average weight");
    $process   = check_input($_POST['Process']);
    $hearabout = check_input($_POST['HearAbout']);
    $comments = check_input($_POST['Comments']);
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
        show_error("E-mail address not valid");
    $message = "You have received an account request from:
    Company Name: $companyname
    First Name: $firstname
    Last Name: $lastname
    Phone Number: $phone
    Fax Number: $fax
    E-mail: $email
    Street Address: $address
    City: $city
    State: $state
    Zip Code: $zipcode
    Country: $country
    Years in Business: $yearsinbusiness
    Type of Industry: $typeofindustry
    Multiple Locations: $multiplelocations
    Number of Locations: $numberoflocations
    Services they use: $ltl, $ftl, $domesticparcel, $intlparcel, $airfreight, $oceanfreight, $other, $none
    Typical Volume: $volume
    Current Carrier: $carrier
    Average Class: $class
    Average Weight: $weight
    How they currently process: $process
    How they heard about us: $hearabout
    Comments: $comments
    End of message
    //ini_set("SMTP","smtp.emailsrvr.com");
    //ini_set("SMTP_PORT", 25);
    //ini_set("sendmail_from","*******");
    //mail($recipient, $subject, $message);
    function check_input($data, $problem='')
        $data = trim($data);
        $data = stripslashes($data);
        $data = htmlspecialchars($data);
        if ($problem && strlen($data) == 0)
            show_error($problem);
        return $data;
    function authSendEmail($from, $namefrom, $to, $nameto, $subject, $message)
    $smtpServer = "smtp.emailsrvr.com";
    $port = "25";
    $timeout = "30";
    $username = "********";
    $password = "********";
    $localhost = "smtp.emailsrvr.com";
    $newLine = "\r\n";
    $smtpConnect = fsockopen($smtpServer, $port, $errno, $errstr, $timeout);
    $smtpResponse = fgets($smtpConnect, 515);
    if(empty($smtpConnect))
    $output = "Failed to connect: $smtpResponse";
    return $output;
    else
    $logArray['connection'] = "Connected: $smtpResponse";
    fputs($smtpConnect,"AUTH LOGIN" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authrequest'] = "$smtpResponse";
    fputs($smtpConnect, base64_encode($username) . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authusername'] = "$smtpResponse";
    fputs($smtpConnect, base64_encode($password) . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['authpassword'] = "$smtpResponse";
    fputs($smtpConnect, "HELO $localhost" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['heloresponse'] = "$smtpResponse";
    fputs($smtpConnect, "MAIL FROM: $from" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['mailfromresponse'] = "$smtpResponse";
    fputs($smtpConnect, "RCPT TO: $to" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['mailtoresponse'] = "$smtpResponse";
    fputs($smtpConnect, "DATA" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['data1response'] = "$smtpResponse";
    $headers = "MIME-Version: 1.0" . $newLine;
    $headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;
    $headers .= "To: $nameto <$to>" . $newLine;
    $headers .= "From: $namefrom <$from>" . $newLine;
    fputs($smtpConnect, "To: $to\nFrom: $from\nSubject: $subject\n$headers\n\n$message\n.\n");
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['data2response'] = "$smtpResponse";
    fputs($smtpConnect,"QUIT" . $newLine);
    $smtpResponse = fgets($smtpConnect, 515);
    $logArray['quitresponse'] = "$smtpResponse";
    function show_error($myError)
    ?>
        <html>
        <body>
        <b>Please correct the following error:</b><br />
        <?php echo $myError; ?>
        </body>
        </html>
    <?php
    exit();
    ?>

    I have tried the standard PHP mail function and it doesnt seem to work. Here is my most recent warning or error message.
    Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 <*****>: Sender address rejected: Access denied in D:\inetpub\vhosts\ltlfreightshop.com\httpdocs\requestaccount.php on line 78
    I had the standard mailing set up but it wouldnt ever send and when i set up just the form, it requires the default email client. Am i wrong to assume that i need the SMTP authentication?
    I am not sure about the sockets being enabled. We currently outsource our web hosting and email hosting. I cannot find the phpinfo(), where would this be?
    Thanks,
    Ben

  • Using a conditional pop-up menu for creating an order form...

    I am trying to create an order form on Numbers (version 2.0.1) using my iPad. My idea is to create a pop-up menu that would contain a number of products (about 50 or so). I'd copy this pop-up menu on all the cells in the column under "Description". That part is no problem. BUT ... ideally when a product is selected from the pop-up menu, I would like for its price to automatically populate the corresponding cell under "Unit Price". Obviously the various products will have various prices. For example, I might have three products listed as "Assorted Miniatures" which cost $5 each; "Animal Pot" which costs $10; and "Geometric Pot" which costs $15. Can this be done???
    If and when that is accomplished, then I presume I can easily apply the basic formulas to get total amounts. All of this means that once completed the only thing I really need to do is select products and then all the pricing and total amounts are automatically listed and calculated. Can someone assist? I have a show coming up this weekend and I hope to fill out lots of order forms!!! :-)  Thank you!!!

    MicMac22,
    Here is my take. Lookup table as Wayne suggests.
    Popup menu is a great idea.
    description
    quant
    unit price
    total Amt
    Item 2
    $2.00
    Item 1
    $1.00
    My entry table would look like yours.
    item
    price
    item 1
    $1.00
    item 2
    $2.00
    item 3
    $3.00
    Table 2 is your lookup table.
    The formula in your entry table unit price is pasted into row 2 and copied down.
    IFERROR(OFFSET(Table 2::$A$1,MATCH(A2,item,0)−1,1,,),"")
    This says find the match of entry in A2 in item column in table 2 return the value in the column 1 over. If error return nothing ("").
    Will this work for you?
    Q

  • Query for create manual tabular form using apex collection using item textfield with autocomplete

    can we create a manual tabular form inside item textfield with autocomplete ?
    how it is possible?
    with Apex_item API used for this item.
    i used this code for creat  cascading select list
    select seq_id,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(
            p_idx                       =>   1,
            p_value                     =>   c001,
            p_query                     =>   'SELECT C001 D
         , C002 R
      FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = ''col1''',
            p_attributes                =>   'style="width:150px" onchange="f__name(this,parseInt(#ROWNUM#));"',
            p_show_null                 =>   'Yes',
            p_null_value                =>   null,
            p_null_text                 =>   '- Select name -',
            p_item_id                   =>   'f01_'|| LPAD (ROWNUM, 4, '0'),
            p_item_label                =>   'Label for f01_#ROWNUM#',
            p_show_extra                =>   'NO') name,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(
            p_idx                       =>   2,
            p_value                     =>   c002,
            p_query              =>   ' SELECT null d, null r FROM dual WHERE 1 = 2
            p_attributes                =>   'style="width:150px"',
            p_show_null                 =>   'Yes',
            p_null_value                =>   null,
            p_null_text                 =>   '- Select name -',
            p_item_id                   =>   'f02_'|| LPAD (ROWNUM, 4, '0'),
            p_item_label                =>   'Label for f02_#ROWNUM#',
            p_show_extra                =>   'NO')name2,
    from apex_collections
    where
    collection_name = 'COLLECTION1'
    It is fine .
    but i want item in tabular form  textfield with autocomplete and remove select list. my requirement is using textfield with autocomplete select a employee name and second item textfield with autocomplete display dependent perticular employee related multiple task.
    how it is created.i have no idea related textfield with autocomplete.Please help me....

    pt_user1
    I understand that the add row button is currently doing a submit.
    To not submit the page you need a dynamic action on the page.
    Does the javascript function addRow do what you want?
    Otherwise have a look at the following two threads Add row in manual tabular form using dynamic action and Accessing Tabular Form & Add Elements to Collection without Page Submit.
    You're process could be something like:
    Add the new values to the collection using the idea's in the second thread and at the same time add the new row.
    And as second action refresh your tabular form.
    If you get stuck set up what you have done on apex.oracle.com using the tables from the demo application.
    Nicolette

  • Has anyone found an app for creating fillable pdf forms on an ipad?

    I have found many apps that allow me to fill in already created fillable pdf forms on an ipad, but I'm wondering if there are any apps that allow the creation of PDF forms on an ipad?  (similar to adobe professional...?).  Thanks for your time!

    PDFpen pro can be used on the Mac to generate fillable forms.  It is much less expensive than Acrobat.
    For IOS, I would check out
    PDF Expert by Readdle
    DocuSign Ink
    I know the allow you to sign your name on PDF forms.
    I would think they can extend that to fillable forms.

  • What software did they use to create the tutorials for creating a podcast?

    I just downloaded the 8 tutorials that are posted on iTunes on how to create a podcast. What I am really looking for is what program they might have used to create those tutorials. The screen capture has some very nice features, like highlighting certain areas, dimming the background, voice and video capture, zooming into certain areas. I don't think it is Snapz but I could be corrected.

    Hey thanks for answering.
    The tutorials show how to use Garageband and are really quite nice. What I am after though is the software they might have used to create those tutorials.
    Go to iTunes > music store > podcasts and type in "learn to podcast" it will be the top choice. And look at one of them, very nice creen capture functionalities.
    Thanks, Frank

  • I want to example for creating a smart forms

    hi friend,
    i want to code and step-by-step creating a smartforms i  want to ASAP .
    THANK AND REGRADS...

    Your other threads have been deleted.
    Please read "the rules" before posting any further.

  • App for creating complex and data-enclosed forms

    Hello guys,
    This may be a wrong place to ask this but hey i don't know where to go, so here goes:
    I'm looking for an app (OSX) with which i can create quite complex forms, and with that i mean the following example:
    Like in Acrobat Reader Pro you can create forms, you can leave some text that is considered basic text and non-changeable and some fields in which users can fill up their own data. Better yet i'm looking to allow the user to only fill in the particular fields with only a few options.
    For example: Let's say i want to create a mailing form in which the 'TO' field can only be filled up by a pop-up of selectable choices. I've seen this in some PDFs but i'm not sure Acrobat can do that. A friend of mine recommended SQL but that's a pain to install in OSX. So back to the example, when the user selects the TO field to fill up the destination of the letter, i would like to allow him to only fill up let's say one of 10 destinations (with complete address). So the 10 options pop-up in a menu from the field and he selects the destination and then the app does the rest by filling the street name, number etc...
    How can i do that? In what program?
    Thank you!
    Andrei Dica from Bucharest Romania (pround Apple user )

    Ok here is what i want to do:
    I want to simplify and optimize the work in my office. Most of the times we have to create reports or letters which share a common body text. That body text should remain unchanged but there are fields that i want to create to allow all the employees to fill up them depending on their needs. BUT not just fill up by typing because that would be the same as if it would have opened the document (.doc or .pages) delete and type what they want.
    I want to create fields but with options poping out of them when the user clicks on it. For example: let's say an employee wants to do a report about a company, and he already has the data in other documents about the company name, identification codes, address etc...Usually you work with multiple opened documents and copy/paste the required contents from one document to another. But i figured there has to be an easier way if a system can be implemented when the user can work on directly made templates for each task and type only the fields that need to be changed. I vision the process as a user completes some fields in a browser. When you type in the address bar of your browser "you" it automatically pops out a list of possible sites from which i can mention youtube.com and others. Now i understand that there has to be created a database first so that my employees and colleagues can fill 'from' but i'm willing to do that if on the long term it speeds up the work flow.
    Another example is body text that need to be changed only by two values (words) much like numeric values 1 and 0. For example yes or no. Click on the field, pops up yes or no option. Click on the desired option and you're done. Print it, email it and job well done.
    Is this a bit more clear about what i'm trying to achieve?

  • Create mail form in CRM

    Hello everyone,
    I'm trying to create new mail form in the CRM (tran " CRMD_EMAIL")  with new structure that we defined.
    The problem is that we can't find a way to fill it with our data.
    To be more specific: when I create the form, the fields that we import from the standard structure are shown, but the fields from our new structure are empty.
    How can we fill them?
    Thank you very much,
    Ronen

    Hello everyone,
    I'm trying to create new mail form in the CRM (tran " CRMD_EMAIL")  with new structure that we defined.
    The problem is that we can't find a way to fill it with our data.
    To be more specific: when I create the form, the fields that we import from the standard structure are shown, but the fields from our new structure are empty.
    How can we fill them?
    Thank you very much,
    Ronen

Maybe you are looking for

  • String not being picked up in Function

    Im trying to add a string to a FUNCTION, but because the string contains a bracket and comma its not picking the string up. The STRING is : Christian (non-Catholic, non-specific) Below is the Script  SELECT c.DESCRIPTION , count(*) FROM [PLATOPROD].P

  • Vendor field should not display when GI is done in MB1A?

    Hi  guys , i have  a  report programe here i am pulling  all the material data  and purhasing order info  in the background using the BADIO MB_DOCUMENT BADI.  here i am writing my logic. this BADI is triggering  once material Documnet is created  in

  • Value not visible in preview mode

    Hello there, On my dashboard, between other things, I have a simple grid component which should just show some resulted values. The problem I have is that when I connect the grid with the range of cells, everything looks fine but in preview mode, one

  • How will the applications gets translated using Globalization

    Hi, By using the Apex user guide, I have done with the multilingual process but not able to view the translated application in the application builder list, How can I get the arabic language gets effected in my applications(Apex). What are the steps

  • Cannot get iMac to connect to AE or TC wireless, can connect by ethernet

    I Cannot get iMac to connect to AE or TC wireless, can connect by ethernet. All other devices (iPad, Apple TV, Roku, iPhone, iPad Touch) can connect to wireless network without any issues. OS is 10.6.6, both apple TC and AE are current with their sof