WordPress Invitation Code - How To - Send Codes to Multiple Emails at Once


Send Invitation Codes to Multiple Emails at Once

Back to User Guide

Quick Read

  1. Prepare a CSV file with codes and the notification_email column. Recommended to split files into 100 rows or less
  2. Import the CSV file. The emails will be sent automatically

Introduction

With WordPress Invitation Code plugin it's possible to send invitation codes to multiple emails at once by importing a CSV file that specifies the email to which each code will be sent.


Step by Step

Step 1) Prepare CSV File and Add Emails

TIP: Download File Example

Speed up the import process by using a sample file. Download CSV example file

Edit a CSV file (we recommend a spreadsheet software such as Excel, Numbers or Google Spreadsheets).

Each row is a code. Note the column "notification_email".

Complete table

Example of the CSV file - Restrict Content Plugin
Example of the CSV file

Detail

Column for adding emails - WordPress Register with Invitation Code
Column for adding emails

Populate the file with the relevant emails on each column so each code will have an email recipient.

Example of the column which contains email addresses - Portal WordPress Plugin Private Content Per User
Example of the column which contains email addresses

If the notification_email of a certain code is empty, that code will not be sent during import!

Should I Fill The Other fields?

Some other fields are essential (remember to use the template file to help you).

Don't forget to fill sharing_type and depending on it, allow_url, allow_ids, sharing_type, sharing_file. Otherwise, the users will receive a code that doesn't work.

For the other CSV fields, the plugin "autocompletes" the empty ones based on the default settings. Learn more: Creating Codes - From CSV File

Will This Process Duplicate Codes?

This process can generate new codes (which is usually recommended). To ensure that's the case, leave the code column empty. When it's empty the plugin will generate a new code and send it to the email.

Duplicating or generating codes for emails - Members Plugin Restrict Content
Duplicating or generating codes for emails

In the example above:

  • If the code 1AB2 already exists, a duplicate one will be generated and sent to john1@doe.com. If it doesn't, the new code 1AB2 will be generated and sent to the user
  • john2@doe.com will receive a new random code

Step 2) Import the file

With the single or multiple CSV files ready, proceed to import them. 

Plugin Sends Emails Automatically; Check Number of Codes

Note that the emails will be sent as soon as the plugin imports the file!

Before you proceed, check the number of codes you will import. Too many codes might overload your server and cause errors.

If you have more than 100 codes, we recommend splitting the table so that each file carries a maximum of 100 entries. 

We also recommend trying files with few codes at first to get familiar with the process.

Head again to Admin Dashboard → Invitation Code Content Access → Invitation codes.

Navigation to the dashboard for importing invitation codes - Invitation Code Registration for WordPress
Navigation to the dashboard for importing invitation codes

Upload the CSV file.

Uploading CSV file - WordPress Content Restriction
Uploading CSV file

And then click the Import button.

'Import' button - Private Content WordPress Plugin
'Import' button

Learn more about this screen: Creating Codes - From CSV File


More information about the WordPress Invitation Code Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.