Le module Maillog pour OpenMage
Sommaire (v5.9.0)
N'oubliez pas que cette documentation ne concerne que la dernière version du module.
N'oubliez pas de lire cette page entièrement.
🌟🌟🌟🌟🌟 par Jérôme,
le 01/04/2020 Ce module n'est pas premium, n'est pas ultimate, n'est pas pro, il ne contient pas un mouchard ni un jolie panneau de publicité, et il n'augmentera pas votre ROI de 165%. Il est tout simplement mieux que tout ce que vous avez pu voir ailleurs. C'est une révolution !
Présentation du module
Description
Ce module permet :
- to show sent emails history
- to import unsubcribed and invalid email addresses in OpenMage
- to synchronize customers data from OpenMage to your System (Emarsys or Mautic, multithreaded)
- to send emails in background (without affecting the loading time of the page)
- to send the correct email for newsletter emails when sending from the backend
- to add support for comparison operators to conditions and the foreach loop in emails
- to get a daily, weekly or monthly report about the state of the sending of emails, synchronizations and imports
The report is sent by email during the night according to the configuration.
The queue is deactivated when the module is active and every email sent with the class Zend_Mail
is "captured" by the module.
Accès et configuration
Configuration available in System » Configuration » Tools » Transactional emails and in Customers synchronization.
Available in Tools » Transactional emails and in Customers synchronization.
Configuration also available in System » Configuration » Customers » Newsletter.
Also available in the Transactional emails tab of orders and customers.
History lifetime
The lifetime is easily configurable via a number of days (or months or years).
For each line:
- the first drop-down list corresponds to the lifetime of the content of the email and any attachments (if it is deleted, we keep the rest)
- the second is the lifetime of the email (if it is deleted, there is nothing left)
- the first color box corresponds to the background color of the header (when displayed online)
- the second is the text color of the header
...
Security
...
Compatible avec OpenFileEditor
Lorsque l'extension pour navigateur OpenFileEditor est installée, lors de l'affichage d'une trace d'erreur PHP, les chemins des fichiers sont cliquables, afin de les ouvrirs directement dans votre éditeur de fichier préféré.
Installation et désinstallation
Rien de plus simple avec composer.
Pour obtenir la clef, continuez votre lecture :) ...
Then apply: openmage.diff
To allow emojis in subject and content of emails, in the local.xml file, you must use SET NAMES utf8mb4
for initStatements
(see OpenMage#430).
Finally, do not forget to configure crontab to run the maillog.sh file every minutes.
crontab* * * * * www-data bash /path/to/maillog.sh
For uninstallation, having uninstalled the module, removed the changes in lib/Zend/Mail/Transport/Sendmail.php and lib/Varien/Filter/Template.php, and stop crontab for maillog.sh, all that remains is to erase the configuration and data:
sqlDELETE FROM core_config_data WHERE path LIKE "maillog%";
DELETE FROM core_config_data WHERE path LIKE "crontab/jobs/maillog_%";
DELETE FROM core_config_data WHERE path LIKE "newsletter/%/%send";
DELETE FROM core_resource WHERE code = "maillog_setup";
DELETE FROM eav_attribute WHERE attribute_code = "is_bounce";
DROP TABLE IF EXISTS luigifab_maillog;
DROP TABLE IF EXISTS luigifab_maillog_sync;
DROP TABLE IF EXISTS luigifab_maillog_bounce;
Emails and wysiwyg directives
...
Emails configuration
Variables list:
#uniqid#
#mailid#xyz#
#online#
/#online#storeId#
#readimg#
...
Synchronization configuration
Synchronization allow to synchronize customer data from OpenMage to your System.
It is performed every minutes by cron job on the following events (whether from the backend or from the frontend):
- when customer login,
- when saving or deleting a customer,
- when saving or deleting a subscriber,
- when saving a shipping or a billing address of a customer,
- when invoicing an order.
...
Téléchargement du module
Installation avec composer : composer require luigifab/openmage-maillog
Téléchargement de la dernière version : openmage-maillog-5.9.0.tar.gz
Voir aussi : github - composer - geany - phpstorm
- Version actuelle : 5.9.0 (01/01/2024)
- Compatibilité : OpenMage 19.x / 20.x / 21.x - PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 / 8.3 ~ (PHP avec exec)
- Compatibilité client : Firefox 36+, Chrome 32+, Opera 19+, Edge 16+, Safari 9+
- Traductions : allemand (de), anglais (en), espagnol (es), français (fr-FR/fr-CA), italien (it), portugais (pt-PT/pt-BR) / chinois (zh), grec (el), hongrois (hu), japonais (ja), néerlandais (nl), polonais (pl), roumain (ro), russe (ru), slovaque (sk), tchèque (cs), turc (tr), ukrainien (uk)
- Licence : GNU GPL 2.0+
- À lire absolument : le fichier README
Si vous aimez ce module, prenez un peu de votre temps pour améliorer les traductions.