Sent. Advanced Demo

http://sentapi.com/index.php/api

Your API url:



The form

This form uses several advanced fields:

  • _subject: sets a custom subject for the email
  • _replyto: sets a custom reply to field
  • _after: sets a URL to send the user to once the email is sent (in this demo, you will be redirected to http://chillyorange.com)
  • _honey: SPAM protection field

Instead of setting up an "_after" field, you can also setup a "_confirmation" field which holds a custom confirmation message shown to the user after submitting the form. This field can contain HTML as well.

Please enter an email address to which the form data should be send:


The code

<form method="post" action="//yourdomain.com/api/[email protected]" method="post">
    <input type="hidden" name="_subject" value="Custom subject here">
    <input type="hidden" name="_replyto" value="[email protected]">
    <input type="hidden" name="_after" value="http://chillyorange.com">
    <input type="text" name="_honey" value="" style="display:none">
    <input type="text" name="name" placeholder="Your name">
    <input type="email" name="email" placeholder="Your email">
    <textarea  name="message" rows="3" placeholder="Your message"></textarea>
    <button type="submit" class="btn btn-primary btn-embossed disabled">Submit Form</button>
</form>