title: Notification after Form Submit
body: <p>I have a form that feeds fields into a website. But i would like to send a separate email, once my form has been submitted, to notify the client that a lead has been submitted.</p>
  
  <p>This form collects customer information and is fed to a website where all the client information is stored. That part of the form works perfectly. I need to create a separate action, or a trigger, that sends a notification to an email, alerting my client that the application has been filled. Everything that I have tried either submits the form without sending an email, or sends an email without submitting the information. I have changed information in the code for my clients confidentiality. </p>
  
  <pre><code>&lt;form action="This is the domain that submits to the website but for client confidentiality i cannot display" method="POST" &gt;
  
  &lt;input type=hidden name="oid" value="00D1U000001ANuJ"&gt;
  &lt;input type=hidden name="retURL" value="/pages/wholesale-application-thank-you"&gt;
  
  
        &lt;label for="first_name"&gt;First Name&lt;/label&gt;&lt;input  id="first_name" maxlength="40" name="first_name" size="20" type="text" class="input-full" placeholder="First Name"/&gt;&lt;br&gt;
  
        &lt;label for="last_name" &gt;Last Name&lt;/label&gt;&lt;input  id="last_name" maxlength="80" name="last_name" size="20" type="text" class="input-full" placeholder="Last Name"/&gt;&lt;br&gt;
  
        &lt;label for="title" &gt;Title&lt;/label&gt;&lt;input  id="title" maxlength="40" name="title" size="20" type="text" class="input-full" placeholder="Title"/&gt;&lt;br&gt;
  
        &lt;label for="company" &gt;Company&lt;/label&gt;&lt;input  id="company" maxlength="40" name="company" size="20" type="text" class="input-full" placeholder="Company"/&gt;&lt;br&gt;
  
        &lt;label for="URL" &gt;Website&lt;/label&gt;&lt;input  id="URL" maxlength="80" name="URL" size="20" type="text" class="input-full" placeholder="Website"/&gt;&lt;br&gt;
  
        &lt;label for="email" &gt;Email&lt;/label&gt;&lt;input  id="email" maxlength="80" name="email" size="20" type="text" class="input-full" placeholder="Email"/&gt;&lt;br&gt;
  
        &lt;label for="street" &gt;Street&lt;/label&gt;&lt;textarea name="street" class="input-full" placeholder="Street"&gt;&lt;/textarea&gt;&lt;br&gt;
  
        &lt;label for="city" &gt;City&lt;/label&gt;&lt;input  id="city" maxlength="40" name="city" size="20" type="text" class="input-full" placeholder="City"/&gt;&lt;br&gt;
  
        &lt;label for="zip" &gt;Zip&lt;/label&gt;&lt;input  id="zip" maxlength="20" name="zip" size="20" type="text" class="input-full" placeholder="Zip"/&gt;&lt;br&gt;
  
       &lt;label for="state" &gt;State/Province&lt;/label&gt;&lt;input  id="state" maxlength="20" name="state" size="20" type="text" class="input-full" placeholder="State/Province"/&gt;&lt;br&gt;
  
       &lt;label for="lead_source" &gt;Lead Source&lt;/label&gt;&lt;select  id="lead_source" name="lead_source" class="input-full"&gt;&lt;option value=""&gt;--None--&lt;/option&gt;&lt;option value="Events"&gt;Events&lt;/option&gt;
       &lt;option value="Facebook"&gt;Facebook&lt;/option&gt;
       &lt;option value="Google"&gt;Google&lt;/option&gt;
       &lt;option value="Instagram"&gt;Instagram&lt;/option&gt;
       &lt;option value="Retailer"&gt;Retailer&lt;/option&gt;
       &lt;option value="Social Media"&gt;Social Media&lt;/option&gt;
       &lt;option value="Third Party Site"&gt;Third Party Site&lt;/option&gt;
       &lt;option value="Trade Publication"&gt;Trade Publication&lt;/option&gt;
       &lt;option value="Trade Shows"&gt;Trade Shows&lt;/option&gt;
       &lt;option value="Twitter"&gt;Twitter&lt;/option&gt;
       &lt;option value="YouTube"&gt;YouTube&lt;/option&gt;
       &lt;/select&gt;&lt;br&gt;
  
  
       &lt;input type="submit" name="submit" &gt;
  &lt;/form&gt;
  </code></pre>