How can I configure FormMail?

Updated 2 months ago by Josselyn Rodriguez

Note: this is only an example of how FormMail can be used using a sample code. For more resources, please check FormMail's site.

  1. Replace with your own domain name.
  2. Replace with your own email address.
  3. Create a web page where users will be redirected after the email is sent and replace this URL with your new page:
  4. Finally, create a page where your visitors will be redirected when an error occurs, and replace this URL with your new page:
<form method="post" action="" 
accept-charset="ISO-8859-1" onsubmit="var originalCharset = document.charset;
document.charset = 'ISO-8859-1';
window.onbeforeunload = function () {document.charset=originalCharset;};">
<br />
<input name="realname" />
<br />
<br />
<input name="email" />
<br />
<br />
<textarea cols="40" rows="10" name="Message"></textarea>
<br />
<input type="submit" value="Send" />
<input type="hidden" name="recipient" value="" />
<input type="hidden" name="subject" value="Subject" />
<input type="hidden" name="redirect"
value="" />
<input type="hidden" name="missing_fields_redirect"
value="" />
<input type="hidden" name="required" value="realname,email,Message" />

Having trouble? Contact us and our team will be happy to help.

How did we do?