Requirements
- PHP version 7.2 or newer
- MySQL 5.6 or newer
- Apache 2+ mod_rewrite
- Mail()
- MB String PHP extension
- Zip PHP extension
- cURL PHP extension
- Iconv PHP extension
- GD2 PHP extension
Features
PHP Newsletter has everything you need for creating, sending and tracking E-mail newsletters . This full-featured software designed for email- marketing includes the following useful features:
Handy WYSIWYG editor
Built-in WYSIWYG editor allows you to create and edit templates for letters . You can format text, upload and insert images , add links and other things.
Sending letters through smtp server , mail () and sendmail
PHP Newsletter allows you to send letters through standard php function mail (), as well as through the smtp server using sockets or MTA sendmail.
Autoresponder
You can create mailing lists, which are then automatically sent in a given priority in the schedule . All you need is to setup a cron and create a mailing list.
Subscription Form for our newsletter with the ability to unsubscribe
PHP Newsletter allows you to create forms for subscription and unsubscribe newsletter. You can add a form to your site by posting html form code on your site.
Selection of mailing mode(PLAIN and HTML)
You can create attractive HTML email or plain text e-mail messages using the integrated editor of template letters.
Support of most known charsets
PHP Newsletter supports more than 35 different national character sets.
Add and Send Attachments
The software includes full support for uploading and sending attachments along with your mailing.
Adding standard headers such as "Precedence" (bulk, junk or list) and "List-unsubscribe"
To exclude getting your emails in spam mailing lists it is recommended to add captions Precedence (bulk, junk, or list) and list-unsubscribe.
Adding DKIM signature in the letter header
To improve the quality and classification of email authentication, PHP Newsletter options allow you to add DKIM- signature (authentication technology of verification of sender by adding a digital signature associated with the domain name) in the headers of outgoing emails.
Personalization of letters
Personalization of letters is one of the most effective ways to make a good first impression on the recipient's mailing because statistics shows that personalized letters are often opened and read. Add the letter template tag % NAME% and it will automatically be replaced by the name of the subscriber.
Create unlimited mailing list
You can sort templates by category of mailing subscribers and send letters to those subscribers who have subscribed to a category.
Managing the list of subscribers
Through a Web interface you can manage the list of subscribers: view, add, edit and delete subscribers.
Import / export e-mail addresses
PHP Newsletter provides a tool to import and export email addresses. You can import data from a plain text file or MS Excel, and export data to a text file and MS Excel .
Mailing list log
For each newsletter there is a detailed statistics on the number of messages sent and unsent. You can also get information about how many users opened the letters. In addition, you can export statistics in MS Excel file.
Web interface of administrator
To operate and manage lists, you are provided with a convenient and simple enough admin panel, accessible via a web interface. A large number of settings will allow you to quickly configure the system work for your requirements.
Setup Wizard
Installing PHP script is easy to run from your web browser. PHP Newsletter provides you with a convenient tool to install the script. You only need to enter the access to the database and continue with the installation, and the installation wizard will generate all necessary actions.
What's new in PHP Newsletter 6.1.x?
- Added subscription form;
- Displaying a list of subscription categories in the subscribers section
Installation
- Unpack the distribution in any directory of your web site, for example, '/phpnewsletter'.
- Set the access permissions (CHMOD) to 775 to the following files and folders:
- Files
- .env
- Folders
- bootstrap/cache
- storage
- Files
- Run the Setup Wizard in your browse: http://your_site/phpnewsletter/install/. and follow the Setup Wizard instructions
Settings
Settings sending email through a smtp server
To send mailing lists through the smtp server, follow these steps. Go to the admin panel, then to the "Settings" section and in the "Mailing options" tab, select "How to send" - SMTP server. Next go to the "SMTP" section and add SMTP Server.
Add DKIM signature
First, you need to generate a DKIM key. Use the online service for this:
https://www.sparkpost.com/resources/tools/dkim-wizard/
Enter your mail domain in the "Domain name" field, and any value in the "DomainKey Selector" field.
After that you have filled in all the form fields, click on the "Submit" button, after which the generated public (PUBLIC KEY) and private (RSA PRIVATE KEY) keys should appear in the text field below.
Copy the contents of the "BEGIN RSA PRIVATE KEY" section and set it in the "Private key file (dkim private)" field. In the "Signed domain" field, indicate your mail domain.
In the "Selector" field, the value that you specified in the "DomainKey Selector". In the "Keyword" field, indicate your mail domain. In the field "Signed identity (E-mail)" email of outgoing mail.
Next save the settings.
Finally, it remains to configure DNS. Using the service prompts, you need to enter TXT records in the DNS of your domain name in the control panel of the domain name registrar.
Add TXT records in the following format: mail._domainkey.example-site.com and _domainkey.example.com. Replace example.com with your mail domain.
Both entries will look like this:
_domainkey.example-site.com. TXT "t=s; o=~;"
mail._domainkey.example.com. TXT "k=rsa\;
p=MIGfMA0GCSqGSIb3DQE….."Here paste the public key from the BEGIN PUBLIC KEY section.
Now, to check if everything is configured correctly, send an email to yourself. If everything is done correctly, the headers of emails should contain approximately the following lines:
Authentication-Results: mx.google.com; spf=pass (google.com: domain of This email address is being protected from spambots. You need JavaScript enabled to view it. designates 123.123.123.123 as permitted sender) smtp.mail=This email address is being protected from spambots. You need JavaScript enabled to view it.; dkim=pass header.i=@example-site.com
Settings of schedule email campaign using cron
In the cron settings, add 2 commands:
* * * * * /usr/bin/php -q /var/www/phpnewsletter/artisan email:send >/dev/null 2>&1
* * * * * /usr/bin/php -q /var/www/phpnewsletter/artisan email:unsent >/dev/null 2>&1
The first command is responsible for sendings emails to subscribers, and the second is to resend emails to those subscribers who did not receive emails due to mail server errors or an others reasons.
The example uses a php script to run every minute, where /usr/bin/php is the path to the php interpreter. This parameter is required. On your server, it may differ from the example shown.
In order to find out the path, you need to run the which php commands or ask your hosting provider.
/var/www/phpnewsletter/artisan - the absolute path to the file on your web server.
After completing the settings of cron, go to the admin panel in the "Mailing schedule" section and add a mailing schedule.
To do this, select a template, specify the start and end times of the mailing, the category of subscribers.
How to buy?
The cost of the license PHP Newsletter 6 for an one web site is $10 or €8, for an unlimited number of web sites is $50 or €42. For Users of PHP Newsletter 4 and 5 50% discount. Payment can be made to the following account:
PayPal
This email address is being protected from spambots. You need JavaScript enabled to view it.
Payeer
P33851732
in the comment write it: PHP Newsletter - "your email address"
Sincerely,
Alexander Yanitsky