# Contact Form & SMTP Plugin for WordPress by PirateForms #
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [codeinwp](https://profiles.wordpress.org/codeinwp), [rodicaelena](https://profiles.wordpress.org/rodicaelena), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [pirateforms](https://profiles.wordpress.org/pirateforms), [rozroz](https://profiles.wordpress.org/rozroz)  
**Tags:**  contact form, contact form plugin, forms, smtp, custom form, subscribe form, feedback form, wordpress contact form  
**Requires at least:** 3.0  
**Tested up to:** 4.9  
**Stable tag:** trunk  
**License:** GPLv2 or later  
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html  

A simple and effective WordPress contact form & SMTP plugin. Compatible with best themes out there, is both a secure and responsive contact form plugin.

## Description ##

Stay in touch with your visitors very easily. <a href="https://themeisle.com/plugins/pirate-forms/" rel="nofollow">Pirate Contact Forms</a> offers you a great and friendly contact form for your website.
This is an easy-to-use WordPress contact form with captcha plugin. To create a contact form you just need to use the [pirate_forms] shortcode or use the WordPress contact form widget.

> **Time-saving features available in the FULL version:**
>
> * Create multiple forms
> * Mailchimp, GetResponse, Aweber, Sendinblue Integration
> * Custom fields
> * Developer friendly
> * 12 months Support & Updates
> * 30 days Money Back Guaranteed
>
> **[Learn more about Pirate Forms Extended version]( https://themeisle.com/plugins/pirate-forms-extended/ )**

**Why use our responsive WordPress Contact Form:**

- It's easy to use

This Contact Form 7 or any form builder alternative is very easy to set up. You can quickly create an engaging contact form by using a shortcode and copying it where you want it to appear.

- It's fully customizable

This WordPress Contact Form plugin allows you to customize everything you want. You can change the field labels and decide what message to tell your visitors when an error shows up. You can also decide which fields are required and which are not.

- Provides reCaptcha

Avoid spam messages and make sure the e-mails you receive are entirely addressed to you.

- Comes with SMTP

With the SMTP option, you can be sure you won’t miss any e-mail from your visitors. The messages will be safely delivered from the source to your personal e-mail address.
If you were using Mandrill's SMTP for transactional emails and contact forms, you should take a look at these <a href="http://www.codeinwp.com/blog/mandrill-alternatives/" rel="nofollow" target="_blank">Mandrill Alternatives</a>.

- Stores contacts in special databases

You can keep all the contacts in an archive by saving their e-mail addresses. Pirate Contact Form allows you to do that by providing contact databases.

A simple to use contact form plugin for creating a clean contact form using the [pirate_forms] shortcode or the 'Pirate Forms' form widget.

- What PirateForms isn't for now


This is not a form maker or drag & drop builder plugin nor "the best contact form plugin", you cannot add new fields or create multiple forms (subscription forms, payment, order, feedback or quote), there are some great alternatives out there for those like : Caldera Forms or Ninja Forms.

 = See how Pirate Forms can integrate with your website  =

* [Default form](https://demo.themeisle.com/pirate-forms/default-form-shortcode/)
* [Use multiple forms on same page](https://demo.themeisle.com/pirate-forms/multiple-forms-page/)
* [Minimalistic form](https://demo.themeisle.com/pirate-forms/minimalistic-form/)
* [Form with attachment](https://demo.themeisle.com/pirate-forms/form-with-attachment/)
* [Subscription form](https://demo.themeisle.com/pirate-forms/subscription-form/)
* [Complex support form](https://demo.themeisle.com/pirate-forms/support-form/)
* [Telephone field form](https://demo.themeisle.com/pirate-forms/phone-number-form/)




We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Pirate Contact Form, check them out.

**Features:**

- Choosing the fields(required or not)
- Choosing the labels
- Choosing error messages
- reCAPTCHA
- Store the contacts in the database

If are you looking for other alternatives check-out our article on <a href="http://www.codeinwp.com/blog/best-contact-form-plugins-wordpress/" rel="nofollow" target="_blank">best contact form plugins</a>.



This plugin started as a fork of https://wordpress.org/plugins/proper-contact-form/.

## Frequently Asked Questions ##




### How I can get support for this contact form plugin ? ###

You can learn more about PirateForms and ask for help by <a href="https://themeisle.com/contact/"  >visiting ThemeIsle website</a>.

### What can i do with this plugin ###

You can follow the full documentation [here](http://docs.themeisle.com/article/436-pirate-forms-documentation)

### How to Change Pirate Forms Submit Button Color ###

[http://docs.themeisle.com/article/423-how-to-change-pirate-forms-submit-button-color](http://docs.themeisle.com/article/423-how-to-change-pirate-forms-submit-button-color)

### How to Center the Send Message button for Pirate Forms ###
[http://docs.themeisle.com/article/427-how-to-center-the-send-message-button-for-pirate-forms](http://docs.themeisle.com/article/427-how-to-center-the-send-message-button-for-pirate-forms)

### How to change font in Pirate Forms ###
[http://docs.themeisle.com/article/431-how-to-change-font-in-pirate-forms](http://docs.themeisle.com/article/431-how-to-change-font-in-pirate-forms)


### How you can overwrite the default form template in Pirate Forms ###
[http://docs.themeisle.com/article/664-how-you-can-overwrite-the-default-form-template-in-pirate-forms](http://docs.themeisle.com/article/664-how-you-can-overwrite-the-default-form-template-in-pirate-forms)


### What actions and filters are available in Pirate Forms ###
[http://docs.themeisle.com/article/663-what-actions-and-filters-are-available-in-pirate-forms](http://docs.themeisle.com/article/663-what-actions-and-filters-are-available-in-pirate-forms)


### Emails are not being sent, what can i do ? ###
 [http://docs.themeisle.com/article/690-emails-are-not-being-sent-what-can-i-do](http://docs.themeisle.com/article/690-emails-are-not-being-sent-what-can-i-do) 

 = Why do I not receive any emails? - Pirate Forms = 
 [http://docs.themeisle.com/article/729-why-do-i-not-receive-any-emails-pirate-forms](http://docs.themeisle.com/article/729-why-do-i-not-receive-any-emails-pirate-forms) 

 = How to add reCaptcha  to a form in Pirate Forms = 
 [http://docs.themeisle.com/article/731-how-to-add-recaptcha-to-a-form-in-pirate-forms](http://docs.themeisle.com/article/731-how-to-add-recaptcha-to-a-form-in-pirate-forms) 

 = How to add Dropdown menu in Subject Field in Pirate Forms = 
 [http://docs.themeisle.com/article/725-how-to-add-dropdown-menu-in-subject-field-in-pirate-forms](http://docs.themeisle.com/article/725-how-to-add-dropdown-menu-in-subject-field-in-pirate-forms) 

 = How to save contacts in Mailchimp list in Pirate Forms = 
 [http://docs.themeisle.com/article/722-pirate-forms-how-to-save-contacts-in-mailchimp-list](http://docs.themeisle.com/article/722-pirate-forms-how-to-save-contacts-in-mailchimp-list) 

 = How to create a Form Widget in Pirate Forms = 
 [http://docs.themeisle.com/article/723-pirate-forms-how-to-create-a-form-widget](http://docs.themeisle.com/article/723-pirate-forms-how-to-create-a-form-widget) 

 = How to create a subscription form in Pirate Forms = 
 [http://docs.themeisle.com/article/721-pirate-forms-how-to-create-a-subscription-form](http://docs.themeisle.com/article/721-pirate-forms-how-to-create-a-subscription-form) 

 = How to create multiple forms in Pirate Forms = 
 [http://docs.themeisle.com/article/730-how-to-create-multiple-forms-in-pirate-forms](http://docs.themeisle.com/article/730-how-to-create-multiple-forms-in-pirate-forms) 

 = How to add multiple upload fields in Pirate Forms = 
 [http://docs.themeisle.com/article/734-how-to-add-multiple-upload-fields-in-pirate-forms](http://docs.themeisle.com/article/734-how-to-add-multiple-upload-fields-in-pirate-forms) 

 = How to add a spam trap in a form in Pirate Forms = 
 [http://docs.themeisle.com/article/732-how-to-add-a-spam-trap-in-a-form-in-pirate-forms](http://docs.themeisle.com/article/732-how-to-add-a-spam-trap-in-a-form-in-pirate-forms) 

 = How to change default confirmation email content in Pirate Forms = 
 [http://docs.themeisle.com/article/724-how-to-change-default-email-content-in-pirate-forms](http://docs.themeisle.com/article/724-how-to-change-default-email-content-in-pirate-forms) 

 = How to add checkbox field in Pirate Forms = 
 [http://docs.themeisle.com/article/733-how-to-add-checkbox-field-in-pirate-forms](http://docs.themeisle.com/article/733-how-to-add-checkbox-field-in-pirate-forms) 

 = How can I change HTML of default form in Pirate Forms = 
 [http://docs.themeisle.com/article/745-how-can-i-change-html-of-default-form-in-pirate-forms](http://docs.themeisle.com/article/745-how-can-i-change-html-of-default-form-in-pirate-forms) 

 = How to add attributes to form in Pirate Forms = 
 [http://docs.themeisle.com/article/752-how-to-add-attributes-to-form-in-pirate-forms](http://docs.themeisle.com/article/752-how-to-add-attributes-to-form-in-pirate-forms) 

 = How to change default email content in Pirate forms = 
 [http://docs.themeisle.com/article/779-how-to-change-default-email-content-in-pirate-forms](http://docs.themeisle.com/article/779-how-to-change-default-email-content-in-pirate-forms) 

 = How to change default email content per form in Pirate forms = 
 [http://docs.themeisle.com/article/780-how-to-change-default-email-content-per-form-in-pirate-forms](http://docs.themeisle.com/article/780-how-to-change-default-email-content-per-form-in-pirate-forms) 

 = How to install and use extended version of Pirate Forms = 
 [http://docs.themeisle.com/article/787-how-to-install-and-use-extended-version-of-pirate-forms](http://docs.themeisle.com/article/787-how-to-install-and-use-extended-version-of-pirate-forms) 

 = Pirate Forms Documentation = 
 [https://docs.themeisle.com/article/436-pirate-forms-documentation](https://docs.themeisle.com/article/436-pirate-forms-documentation) 

 = How to Change Pirate Forms Submit Button Color = 
 [https://docs.themeisle.com/article/423-how-to-change-pirate-forms-submit-button-color](https://docs.themeisle.com/article/423-how-to-change-pirate-forms-submit-button-color) 

 = How to Center the Send Message button for Pirate Forms = 
 [https://docs.themeisle.com/article/427-how-to-center-the-send-message-button-for-pirate-forms](https://docs.themeisle.com/article/427-how-to-center-the-send-message-button-for-pirate-forms) 

 = How you can overwrite the default form template in Pirate Forms = 
 [https://docs.themeisle.com/article/664-how-you-can-overwrite-the-default-form-template-in-pirate-forms](https://docs.themeisle.com/article/664-how-you-can-overwrite-the-default-form-template-in-pirate-forms) 

 = How to change font in Pirate Forms = 
 [https://docs.themeisle.com/article/431-how-to-change-font-in-pirate-forms](https://docs.themeisle.com/article/431-how-to-change-font-in-pirate-forms) 

 = Why do I not receive any emails? - Pirate Forms = 
 [https://docs.themeisle.com/article/729-why-do-i-not-receive-any-emails---pirate-forms](https://docs.themeisle.com/article/729-why-do-i-not-receive-any-emails---pirate-forms) 

 = Emails are not being sent, what can i do ? = 
 [https://docs.themeisle.com/article/690-emails-are-not-being-sent-what-can-i-do](https://docs.themeisle.com/article/690-emails-are-not-being-sent-what-can-i-do) 

 = How to add reCaptcha  to a form in Pirate Forms = 
 [https://docs.themeisle.com/article/731-how-to-add-recaptcha-to-a-form-in-pirate-forms](https://docs.themeisle.com/article/731-how-to-add-recaptcha-to-a-form-in-pirate-forms) 

 = What actions and filters are available in Pirate Forms = 
 [https://docs.themeisle.com/article/663-what-actions-and-filters-are-available-in-pirate-forms](https://docs.themeisle.com/article/663-what-actions-and-filters-are-available-in-pirate-forms) 

 = How can I change HTML of default form in Pirate Forms = 
 [https://docs.themeisle.com/article/745-how-can-i-change-html-of-default-form-in-pirate-forms](https://docs.themeisle.com/article/745-how-can-i-change-html-of-default-form-in-pirate-forms) 

 = How to add Dropdown menu in Subject Field in Pirate Forms = 
 [https://docs.themeisle.com/article/725-how-to-add-dropdown-menu-in-subject-field-in-pirate-forms](https://docs.themeisle.com/article/725-how-to-add-dropdown-menu-in-subject-field-in-pirate-forms) 

 = How to save contacts in Mailchimp list in Pirate Forms = 
 [https://docs.themeisle.com/article/722-how-to-save-contacts-in-mailchimp-list-in-pirate-forms](https://docs.themeisle.com/article/722-how-to-save-contacts-in-mailchimp-list-in-pirate-forms) 

 = How to add checkbox field in Pirate Forms = 
 [https://docs.themeisle.com/article/733-how-to-add-checkbox-field-in-pirate-forms](https://docs.themeisle.com/article/733-how-to-add-checkbox-field-in-pirate-forms) 

 = How to add a spam trap in a form in Pirate Forms = 
 [https://docs.themeisle.com/article/732-how-to-add-a-spam-trap-in-a-form-in-pirate-forms](https://docs.themeisle.com/article/732-how-to-add-a-spam-trap-in-a-form-in-pirate-forms) 

 = How to create multiple forms in Pirate Forms = 
 [https://docs.themeisle.com/article/730-how-to-create-multiple-forms-in-pirate-forms](https://docs.themeisle.com/article/730-how-to-create-multiple-forms-in-pirate-forms) 

 = How to create a Form Widget in Pirate Forms = 
 [https://docs.themeisle.com/article/723-how-to-create-a-form-widget-in-pirate-forms](https://docs.themeisle.com/article/723-how-to-create-a-form-widget-in-pirate-forms) 

 = How to change default confirmation email content in Pirate Forms = 
 [https://docs.themeisle.com/article/724-how-to-change-default-confirmation-email-content-in-pirate-forms](https://docs.themeisle.com/article/724-how-to-change-default-confirmation-email-content-in-pirate-forms) 

 = How to add attributes to form in Pirate Forms = 
 [https://docs.themeisle.com/article/752-how-to-add-attributes-to-form-in-pirate-forms](https://docs.themeisle.com/article/752-how-to-add-attributes-to-form-in-pirate-forms) 

 = How to change default email content in Pirate forms = 
 [https://docs.themeisle.com/article/779-how-to-change-default-email-content-in-pirate-forms](https://docs.themeisle.com/article/779-how-to-change-default-email-content-in-pirate-forms) 

 = How to add multiple upload fields in Pirate Forms = 
 [https://docs.themeisle.com/article/734-how-to-add-multiple-upload-fields-in-pirate-forms](https://docs.themeisle.com/article/734-how-to-add-multiple-upload-fields-in-pirate-forms) 

 = How to create a subscription form in Pirate Forms = 
 [https://docs.themeisle.com/article/721-how-to-create-a-subscription-form-in-pirate-forms](https://docs.themeisle.com/article/721-how-to-create-a-subscription-form-in-pirate-forms) 

 = How to change default email content per form in Pirate forms = 
 [https://docs.themeisle.com/article/780-how-to-change-default-email-content-per-form-in-pirate-forms](https://docs.themeisle.com/article/780-how-to-change-default-email-content-per-form-in-pirate-forms) 

 = How to install and use extended version of Pirate Forms = 
 [https://docs.themeisle.com/article/787-how-to-install-and-use-extended-version-of-pirate-forms](https://docs.themeisle.com/article/787-how-to-install-and-use-extended-version-of-pirate-forms) 

 = How to set a success page on successful form submission = 
 [https://docs.themeisle.com/article/836-how-to-set-a-success-page-on-successful-form-submission](https://docs.themeisle.com/article/836-how-to-set-a-success-page-on-successful-form-submission) 

 == Installation ==

Activating the Pirate Contact Form plugin is just like any other plugin. If you've uploaded the plugin package to your server already, skip to step 5 below:

1. In your WordPress admin, go to **Plugins &gt; Add New**
2. In the Search field type "pirate forms"
3. Under "Pirate Forms," click the **Install Now** link
4. Once the process is complete, click the **Activate Plugin** link
5. Now, you're able to add contact forms but, first, we could configure a few settings. These can be found at **Settings &gt; Pirate Forms**
6. Make the changes desired, then click the **Save changes** button at the bottom
7. To add this form to any page or post, just copy/paste or type "[pirate_forms]" into the page or post content and save. The form should appear on that page


## Screenshots ##

1. Screenshot 1. How to use contact form in posts/pages
2. Screenshot 2. How to customize contact form labels
3. Screenshot 3. How to use reCaptcha
4. Screenshot 4. Enabling SMTP

## Changelog ##
### 2.4.0 - 2018-04-02  ###

* Improves compatibility with various themes.
* Adds support for two new custom fields.
* Adds filter for custom classes into form fields.
* Adds visual/text switch to form wyiwyg editor.


### 2.3.5 - 2018-03-05  ###

* Fix characters encoding issue in the subject field.
* Fix issue with spam label with two forms on the page.
* Allows zip files to be attached in forms.
* Adds a filter to dynamically change the subject.
* Adds options to send a copy of the email to the sender.


### 2.3.4 - 2018-02-15  ###

* Added missing Loader.gif file
* Fixed undefined notice
* Fix submit button leaving form when ReCaptcha is enabled


### 2.3.3 - 2018-01-06  ###

* Fix double reCAPTCHA box bug.
* Fix custom spam trap alignement error.


### 2.3.2 - 2017-12-28  ###

* Fix for tooltip admin behavior.


### 2.3.1 - 2017-12-28  ###

* Improves layout and compatibility with various themes.
* Improves form default email format.
* Fix issues with various special characters in the magic tag fields.


### 2.3.0 - 2017-11-27  ###

* Adds email content wysiwyg editor. 
* Improves layout for custom spam trap.


### 2.2.5 - 2017-11-16  ###

* Adds compatibility with WordPress 4.9
* Minor improvement for toggle the password in the admin form fields.


### 2.2.4 - 2017-11-13  ###

* Improved assets loading, loading them only they are necessary. 
* Remove hide/show effect for reCaptcha.
* Add toggle for password field.
* Add new docs, keeping them in sync with HelpScout . 
* Adds more integration with the pro version.


### 2.2.3 - 2017-10-24  ###

* Improves compatibility with Hestia theme.
* Adds option to set form label classes.


### 2.2.2 - 2017-10-20  ###

* Hide email entries in frontend queries.
* Adds filter for form attributes.
* Fix issue with attachment fields not working when spam trap is active. 
* Adds support for more integrations in the pro version.


### 2.2.1 - 2017-10-10  ###

* Fix issue for multiple forms on the same page.
* Fix issue with reCAPTCHA keys.
* Capture failure reasons and corrected email status.


### 2.2.0 - 2017-09-27  ###

* Adds integration with Akismet for spam block.
* Adds another spam tramp mechanism, independent from Google reCAPTCHA.
* Adds filter for customizing the email body.
* Improvements for compatibility with the pro version.


### 2.1.0 - 2017-08-26  ###

* Improved compatibility with the pro version.
* Fixed broken form layout on certain themes.
* Improved security.
* Added test email functionality.


### 2.0.5 - 2017-08-16  ###

* Fixed compatibility with the pro version for multiple fields. 
* Fixed default consistency between forms.


### 2.0.4 - 2017-08-14  ###

* All fields are now optional.
* Fixed redirect after form submission.
* Added more flexibility for changing the layout via dynamic CSS classes.


### 2.0.3 - 2017-08-10  ###

* Fixed fatal errors on some environments because of anonymous functions usage.
* Fixed thank you message when nonces are disabled.
* Added compatibility with pro version.


### 2.0.2 - 2017-08-07  ###

* Fixed none option for thank you page.
* Fixed various issues with form layout.
* Added support for future pro version.


### 2.0.1 - 2017-08-01  ###

* Fixed backwards compatibility with Zerif themes


### 2.0.0 - 2017-08-01  ###

* Major code refactor ( Please TEST BEFORE updating).
* Added multiple filters and hooks to be easily extended by developers. 
* Fixed some issues with attachment fields.
* Added support for TLS.
* Added support to change browser required messages.



### 1.2.0 ###

* Fixed security error when upload field was active.

### 1.1.3 ###

* Added integration with custom emails plugin
* Fixed text domains errors

### 1.1.0 ###
* Escape form fields ( Thanks to Gabriel Avramescu gabriel.avramescu@ituniversity.ro )

### 1.0.18 ###
* Fixed php strict standards error
* Update tags
* Tested up to WordPress 4.6

### 1.0.17 ###
* Fixed IP issue when using web server behind a reverse proxy
* Fixed W3C compatibility issues
* Remove pcf=1#contact from url when theme is different then Zerif
* Removed blacklist option and made it default set to true
* Display site key and secret key fields only if recaptcha option is selected
* New attachment option
* New thank you URL option
* New option to make the nonce optional

### 1.0.16 ###
* textarea field not saving

### 1.0.15 ###
* Update screenshots
* Added a clearfix after the Pirate Forms widget to avoid messed layout
* Update compatible WordPress version number

### 1.0.14 ###
* Fix issues with checkboxes not saving data
* Redo the layout of the plugin's admin area

### 1.0.13 ###
* Fix issues with multiple forms on same page
* Update readme.txt

### 1.0.12 ###
* Update contributors names
* Option to change recaptcha language

### 1.0.11 ###
* Fixed #55 Recaptcha too down

### 1.0.9 ###
* Fixed layout issues #52

### 1.0.8 ###
* Update readme.txt
* Update translations files
* #42, translation issues fixed
