Before going through documentation chapters, thanks for purchasing PrivateContent Mail Actions add-on and trusting LCweb!
On first plugin's activation, it must be activated in order to work.
Head to the LCweb Dashboard page: it contains the summary of all LCweb products with useful links and their validation forms.
Your license is automatically registered into the LCweb database, you only need to
In this case you need to manually register on the LCweb Licenses Hub
In case you have an intranet or localhost website (or your server is blocking external communications against the LCweb endpoint) you can use the offline activation.
Click on the related link (in the LCweb Dashboard) and fill in the form with the requested data: the offline token can be found following the steps listed above.
Once activated, you will see a new item in the WordPress admin menu
Click on "Mail Actions" to access the add-on configuration panel.
The very first thing to do in order to use it, is to setup the e-mail configuration
E-mail titles and texts could contain placeholders to show dynamic data.
The allowed variables for each module are specified on top of each e-mail builder block.
You can also use PrivateContent User Data add-on shortcode to use custom users data in e-mails
These editors have also special functions:
Keep in mind every inbox system (eg. gmail, Windows Mail, mobile apps) have their own filters about HTML e-mail. Is impossible to have the guarantee everything will be perfectly rendered everywhere.
However there are good practices that could be followed: an easy way to create a valid structure is to take advantage of the MailChimp e-mails builder and use its code
The add-on supports e-mail templates. This means a fixed code will be used as base, while its contents will be replaced.
Let's make practical example: assume you created a basic template like this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My site</title>
</head>
<body>
<div><h1>My Site Title</h1></div>
<div>%CONTENT%</div>
<footer>My site © %YEAR%</footer>
</body>
</html>
assume also to have attachedit to the "user verification" and "password recovery" systems.
It will be used as base and the %CONTENT% placeholder will be replaced each time with specific "user verification" and "password recovery" e-mail texts.
You can easily understand how powerful it can be, keeping all HTML and CSS codes in one place while only textual contents can be used for the add-on systems.
You can also use complex templates taken from external services like Mailchimp.
This powerful tool is meant to safely send (and schedule) e-mails to multiple receivers, even if your server has a lower hourly/daily/monthly e-mail limit.
How? Simply splitting receivers into chunks to be managed hour after hour.
A new WordPress admin menu has been created, right under the "PvtCont Add-ons" one.
Follow the following sub-chapters to know how to use it!
This is the primary parameter used by the campaigns engine: every server has got an hourly/daily/monthly outgoing e-mail limit.
It might vary a lot (eg. 100 to 10.000+), because of this is essential to know the exact value.
Please check in your hosting plan description or ask directly to your hoster.
Reaching the limit, in most cases the server won't return any error and e-mails would be erroneously marked as sent.
Once you defined the right limit, set the value in the related Mail Actions settings field.
Is strongly suggested to use a slightly lower value than your hourly/daily/monthly limit, to have a decent number of spare outgoing e-mails to use for other systems and your personal use.
While totally optional, you might need to categorize your campaigns (eg. to group them)
- Campaign configuration is locked once it started to be processed.
- The definitive receivers list is stored as soon as the campaign starts.
As written, campaigns are processed every 5 minutes by the WordPress cron-task engine.
It is triggered every time the website opens, therefore, if your website doesn't have constant visitors, you must setup a server cron-job opening whatever website page on that interval (please ask your hoster if you are not able to do this).
If you need to immediately process pending campaigns, add this parameter to any website page's URL: pcma_process_campaigns
One of the simplest and most effective ways to verify users is to send them an e-mail containing a unique link, validating the e-mail address.
Enabling this system, e-mail will be mandatory in registration forms (be sure you added the e-mail field into them!) and registered users will be put in pending status.
By default, clicking the e-mail link, they will be automaticallu enabled. However there's an option to ignore the user status and only mark them as validated in the users list page.
If called directly, the landing page will redirect to the homepage. Then it MUST be a newly created page.
It should not be changed once the system is active or the links sent via mail won't work!
Remember that users must be registered with pending status to trigger this system. Obviously an active user can't be validated again
Is also posssible to manually send the verification e-mail. Directly from Mail Actions settings for user group or on "edit user" page for individuals. Please note that user will be able to verify themselves only through the URL contained in last e-mail received
Essential system helping users having lost their password
Enabling it, a new linked text will be appended to login forms
The system will send an e-mail containing a new password.
This system may integrate with the "forced password reset" one, by User Data add-on.
This greatly increases the security level of the recovery system by setting an expiration time of 20 minutes for the newly generated password and forcing the user to reset it as soon as he logs in
This option is available only if "Import Notifier" system is enabled in Mail Actions add-on settings
Normally you would have to define a "password" column in the import CSV file.
This is great if you want to set specific values or to import old existing ones.
However you might not know those values and set a common one for dozens/hundreds/thousands of users is surely not good.
Now you can simply switch on the related option in the Import User form and get rid of the password column.
Two important notes:
This system is addressed to customers needing a way to easily get in touch every time a content is updated for a single user.
As first, be sure to have saved at least once the e-mail texts, in the Mail Actions add-on settings page.
Then, going in the WordPress editor (classic or Gutenberg one) of the user reserved page (be sure the user has got the e-mail!) and you will see a the notification button to be clicked to send out the e-mail.
This add-on section is available only if MailPoet plugin is enabled
Once enabled, the add-on will automatically register PrivateContent users into Mailpoet and (eventually) create MailPoet lists from PrivateContent categories. The MailPoet sync status is reported in the privateContent users list and, with details, in the user dashboard.
The add-on has got an endpoint URL to track mailchimp subscribed users.
The URL to use is in Mail Action settings, show once you set up the API key.
There you'll find a link guiding you on Mailchimp's page where to create webhooks.
Create a webhook with these exact options
The sync uses Mailchimp batches to avoid excessive server usage. These actions (eg. manual sync) aren't immediate, then expect a little delay (around 5 minutes) to see changes in Mailchimp
Remember that sync is performed from PvtContent to Mailchimp, then any change performed in Mailchimp won't be reflected
The above note doesn't apply to useres deletion or subscription if you setup webhook. Unsubscribed/deleted useres will be marked as "no sync" in pvtContent
Once you performed the first manual sync, a list will be created, containing user categories. this list MUST NOT be touched, to avoid sync troubles
The add-on is 100% multilanguage for both front and back ends. If a translation of your language has been created, WordPress will automatically switch between languages.
Plus it is compatible with WPML and Polylang!
If you have WPML + String Translation add-on or Polylang, you can simply scan the plugin and translate strings via its UI.
Otherwise: go in the plugin folder, you'll find a two folders called "languages" and "lang_admin".
Inside you'll find the default.pot file. It contains english strings to be translated.
If you want to create or customize your language translation, follow these steps:
If you create new translations, please contact me at [email protected] sending your .PO and .MO files.
Otherwise they will be lost in next updates. Thanks!