Changeset 1748558
- Timestamp:
- 10/18/2017 10:21:00 AM (8 years ago)
- Location:
- simplemailer
- Files:
-
- 4 edited
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
trunk/SimpleMailerProcessor.php (modified) (1 diff)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simplemailer/trunk/SimpleMailerProcessor.php
r1747727 r1748558 449 449 <div class="field-group-compresser"> 450 450 <fieldset> 451 <legend><?php echo __('E -mail settings', 'sm'); ?></legend>451 <legend><?php echo __('Email settings', 'sm'); ?></legend> 452 452 <div class="form-group"> 453 453 <label for="emailfrom"><?php echo __('Email Address', 'sm'); ?> <span class="required">*</span></label><br> -
simplemailer/trunk/readme.txt
r1748551 r1748558 15 15 A common feature of many websites is a contact form. SimpleMailer - is an end-user friendly contact form plugin, it is quite easy to configure and customize. The basic plugin has been kept extremely simple to allow an easy and quick implementation in your WordPress site. 16 16 17 SimpleMailer supports SMTP by default, but if you like, you can also use the PHP ** `mail()`** function.17 SimpleMailer supports SMTP by default, but if you like, you can also use the PHP **mail()** function. 18 18 19 19 Standard SimpleMailer form submits data via "normal" browser request(POST), but you can make them nicer by using AJAX to submit the form data in the background. … … 24 24 == Installation == 25 25 26 1. Upload the SimpleMailer plugin to your plugins directory ** `/wp-content/plugins/`**, or install the plugin through the WordPress plugins screen directly.27 2. Activate the plugin through the ** `Plugins`** menu in WordPress.28 3. Once done, go to the plugin settings page at ** `Settings` » `SimpleMailer`** and enter the relevant data, then save (Note that you also need "administrator" capability to change the SimpleMailer settings).26 1. Upload the SimpleMailer plugin to your plugins directory **/wp-content/plugins/**, or install the plugin through the WordPress plugins screen directly. 27 2. Activate the plugin through the **Plugins** menu in WordPress. 28 3. Once done, go to the plugin settings page at **Settings » SimpleMailer** and enter the relevant data, then save (Note that you also need "administrator" capability to change the SimpleMailer settings). 29 29 30 30 = Displaying the contact form on the front-end = … … 32 32 There are three options on how to display the contact form on your WordPress site: 33 33 1. Displaying the SimpleMailer Widget 34 2. Including Short Code ** `[simplemailer]`** on a specific page35 3. By calling the function ** `<?php $sm->getForm(); ?>`** in your theme file34 2. Including Short Code **[simplemailer]** on a specific page 35 3. By calling the function **<?php $sm->getForm(); ?>** in your theme file 36 36 37 Let's just say, you want to add the SimpleMailer form widget to your website’s sidebar. You can find the SimpleMailer form widget on ** `Appearance` » `Widgets`** page in your WordPress dashboard. Go ahead and add SimpleMailer widget into your right sidebar area. If you visit your website now, you will be able to see the contact form widget in the sidebar on your page. Note that your WordPress theme should support the widget areas.37 Let's just say, you want to add the SimpleMailer form widget to your website’s sidebar. You can find the SimpleMailer form widget on **Appearance » Widgets** page in your WordPress dashboard. Go ahead and add SimpleMailer widget into your right sidebar area. If you visit your website now, you will be able to see the contact form widget in the sidebar on your page. Note that your WordPress theme should support the widget areas. 38 38 39 The easiest way to display SimpleMailer form on a specific page is to use Shortcode. For instance, the following Shortcode in the body of a post or page would add contact form to that post or page: ** `[simplemailer]`**39 The easiest way to display SimpleMailer form on a specific page is to use Shortcode. For instance, the following Shortcode in the body of a post or page would add contact form to that post or page: **[simplemailer]** 40 40 41 And the third option can be used to display the form anywhere you want in your theme files. To do this, simply add the function ** `<?php $sm->getForm(); ?>`** to one of your theme PHP files.41 And the third option can be used to display the form anywhere you want in your theme files. To do this, simply add the function **<?php $sm->getForm(); ?>** to one of your theme PHP files. 42 42 43 43 = Configuring SimpleMailer = 44 44 45 As mentioned before, SimpleMailer supports SMTP by default, the checkbox ** `Enable SMTP`** must be activated.45 As mentioned before, SimpleMailer supports SMTP by default, the checkbox **Enable SMTP** must be activated. 46 46 47 47 Now, fill in the child input fields below this checkbox to complete the SMTP settings. … … 57 57 * SMTP Debug: 0 58 58 59 If you would like to use the PHP **mail()** function instead, just deactivate the ** `Enable SMTP`** checkbox. The entries in the child input fields below are then irrelevant.59 If you would like to use the PHP **mail()** function instead, just deactivate the **Enable SMTP** checkbox. The entries in the child input fields below are then irrelevant. 60 60 61 61 At the bottom of the settings page you will find the Google [reCaptcha](https://developers.google.com/recaptcha/) configuration. To start using reCAPTCHA, you need to sign up for an API key pair for your site. You then insert these into the corresponding input fields. Please also note that the PHP cURL extension has to be installed on your server for reCAPTCHA to work. … … 65 65 = Advanced settings for advanced users = 66 66 67 Advanced configuration settings are managed within the ** `config.php`** file. By default, however, there is no config.php file in your plugin installation directory, you have to create this file first, as follow. The directory **`/wp-content/plugins/simplemailer/`** contains a **`custom.config.php`** file. You will need to make a copy of the custom.config.php file and name it config.php, that one will take priority over default SimpleMailer settings.67 Advanced configuration settings are managed within the **config.php** file. By default, however, there is no config.php file in your plugin installation directory, you have to create this file first, as follow. The directory **/wp-content/plugins/simplemailer/** contains a **custom.config.php** file. You will need to make a copy of the custom.config.php file and name it config.php, that one will take priority over default SimpleMailer settings. 68 68 69 69 == Changelog ==
Note: See TracChangeset
for help on using the changeset viewer.