External mailer for Abra Flexi
desktop applicationUtilityapt install abraflexi-mailerSend AbraFlexi documents and its attachments via email Add Mailer's applications into MultiFlexi
Scripts for sending documents are available:
SendUnsent.php - sends unsent documents in bulk directly from AbraFlexi in the standard way
SendUnsentAttachments.php - finds unsent documents, attaches attachments to them, and sends them via the default PHP mailer or SMTP
Documents are sent to addresses according to the following key:
If an address with the prefix cc is found in the document note, e.g., "cc:email@example.com, cc:copy@example.com", a copy will also be sent to these emails.
Configuration is done by entering directives into the .env file, defining them as constants, or setting environment variables. The Debian package expects the configuration file in the /etc/abraflexi-mailer folder, where a sample file .env.template is available.
The mailer now uses the MAIL_DSN variable, following the Symfony mailer DSN format. The previously used EASE_SMTP is deprecated.
Example for SMTP:
MAIL_DSN="smtp://username:password@mail.example.com:587?encryption=tls&auth_mode=plain"
Replace username, password, and mail.example.com with your actual SMTP credentials and server.
APP_NAME=AbraFlexiMailer - application name in syslog
APP_DEBUG=true - enable debug mode
MUTE=true - do not send messages to recipients but to
MAIL_DSN="smtp://username:password@mail.example.com:587?encryption=tls&auth_mode=plain" - mail transport DSN (Symfony format)
EASE_MAILTO=info@vitexsoftware.cz - messages are sent here if mute is active
ABRAFLEXI_URL="https://demo.abraflexi.eu:5434"
ABRAFLEXI_LOGIN="winstrom"
ABRAFLEXI_PASSWORD="winstrom"
ABRAFLEXI_COMPANY="demo"
ABRAFLEXI_CUSTOMER="demo"
ADD_LOGO=true - include company logo in the email
ADD_QRCODE=true - include QR payment image in the email
MAIL_CC=info@vitexsoftware.cz - send all emails also in copy to this address
MAIL_FROM=office@vitexsoftware.cz - sender address
EASE_LOGGER="console|syslog" - logging method
SEND_LOCKED=False - try to temporarily unlock a locked document
DRY_RUN=False - if enabled, does not write the date and sending status to documents
It is assumed that the template is named according to the record type, e.g., invoice-issued.ftl and is stored in the "templates" folder ( /usr/share/abraflexi-mailer/templates in Debian )
The following variables can be used in the templates:
If we want to send emails to all clients from Nerudova Street in Prague:
abraflexi-bulkmail templates/template.ftl "(city='Prague' AND street='Nerudova')"
By default recipients are selected from the address book (adresar). Set ABRAFLEXI_BULKMAIL_EVIDENCE to use another evidence
(e.g. kontakt, osoba, faktura-vydana); the query is then applied to that evidence and the address is taken from its
email column (kontaktEmail for documents). Each address is mailed only once.
When used in a template, the variables for each sent message are filled from https://demo.flexibee.eu/c/demo_de/addressbook/properties
This tool uses the following libraries for its functionality:
This software would not have been created without the support of:
AbraFlexi Mailer is ready to run as a MultiFlexi application. See the full list of ready-to-run applications within the MultiFlexi platform on the application list page.
Since version 1.3.8, all produced reports conform to the MultiFlexi report schema, ensuring proper integration and monitoring capabilities within the MultiFlexi ecosystem.
For Linux, .deb packages are available. Please use the repo:
echo "deb http://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install abraflexi-mailer
After installing the package, the following new commands are available in the system:
The confirmation commands accept a document identifier via --docid parameter or DOCID environment variable.
Based on the document ID, the recipient is determined from the address book and a confirmation email is sent.
abraflexi-potvrzeni-prijeti-uhrady --docid=VF1-0001/2026
DOCID=123 abraflexi-potvrzeni-prijeti-faktury
Additional environment variables for confirmations:
MAIL_SIGNATURE - email signature text appended to the messageSEND_INFO_TO - Cc address for confirmation copiesThis application uses the following exit codes:
0: Success1: General error / Missing document ID2: Failed to send email3: Cannot read document from AbraFlexiA mail to a customer is written in the language the customer chose in ClientZone.
ClientZone remembers it as the label LANG_CS, LANG_EN, ... of the customer's
company (adresar) in AbraFlexi, and abraflexi-send reads the label of the company
on the document. It then uses the matching translation (cs_CZ, en_US) and the
template templates/<lang>/<evidence>.ftl when there is one, otherwise
templates/<evidence>.ftl. Without the label, or for a language without a
translation, the configured LOCALIZE (default cs_CZ) is used.
abraflexi-potvrzeni-prijeti-platby (MultiFlexi application "Potvrzení přijetí platby") confirms money that
came to the bank or to the cash desk to the customer who paid:
DOCID=<id> EVIDENCE=banka|pokladni-pohyb abraflexi-potvrzeni-prijeti-platby
banka and pokladni-pohyb, operations create and update, DOCID=recordid, EVIDENCE=evidence).firma) - the
payment was paired with an invoice or with the deduction of an advance, or the payer was known from the start.
Unknown payer, outgoing or cancelled payment: nothing is sent and it is no error.UHRADA_POTVRZENA (created when missing), so the following changes
of the record do not send it again.LANG_xx of the company) and names the invoices the payment
was paired with.Without DOCID the application goes through the payments of the bank and the cash desk changed in the last
CONFIRM_DAYS_BACK days (3 by default) and confirms those that were not confirmed yet. Run it now and then
(a MultiFlexi run template with an interval, e.g. every 15 minutes) besides the event rules: an event can be lost,
and the payer may become known long after the payment came. The label UHRADA_POTVRZENA makes sure that a payment
is confirmed once whichever of the two gets to it first.
pool/bionic/main/a/abraflexi-mailer/abraflexi-mailer_0.1_all.deb
abraflexi-mailer| Filename | pool/bionic/main/a/abraflexi-mailer/abraflexi-mailer_0.1_all.deb |
| Version | 0.1 |
| Age in days | 1967 |
| Release date | 2021 06. 29. |
| Size | 6.82 KB |
| id | 855 |
| Name | abraflexi-mailer |
| Package | |
| Appname | |
| Essential | |
| Vendor | |
| License | |
| Distribution | bionic |
| Suite | main |
| Source | |
| Architecture | binary-i386 |
| MultiArch | |
| Maintainer | Vítězslav Dvořák |
| InstalledSize | 48 |
| Depends | debconf (>= 0.5) , debconf-2.0 , php-vitexsoftware-abraflexi-bricks , php-cli |
| PreDepends | |
| Breaks | |
| Enhances | |
| Replaces | flexibee-mailer |
| Section | web |
| Priority | optional |
| Description | External mailer for Abra Flexi |
| LongDescription | Send AbraFlexi documents and its attachments via email |
| AutoBuiltPackage | |
| Filename | pool/bionic/main/a/abraflexi-mailer/abraflexi-mailer_0.1_all.deb |
| MD5sum | 2682133acf53d1c7bb5755a12875f3ab |
| SHA1 | a1cf6ce5553592388e853b15ab865cd80159cbdd |
| SHA256 | a79eb1414f56f641e537f2124cbdcd8bb498bfd9c3723f1a0242e132af166ca2 |
| SHA512 | b5516083ad8f1fdec6211a01f6f890db90d14f7a149bdbbc2c1460d878e645d6bce32de1df6adc5b887d1239366f6fa6288e99878b1cdf03320f414402cb3d7f |
| Size | 6988 |
| Auto-Built-Package | |
| Homepage | https://github.com/VitexSoftware/php-abraflexi-mailer |
| Provides | |
| Suggests | abraflexi-server , php-abraflexi-config |
| Existing | |
| fileMtime | 2021-06-29 23:07:46 |
| created | 2021-05-07 13:25:42 |
| updated | 2021-06-29 23:07:46 |
| ./ | |
| ./etc/ | |
| ./etc/abraflexi-mailer/ | |
| ./etc/abraflexi-mailer/.env.template | 366 |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-send | 73 |
| ./usr/bin/abraflexi-send-unsent | 60 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 71 |
| ./usr/bin/abraflexi-show-unsent | 62 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Mailer.php | 6821 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 4193 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2058 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 579 |
| ./usr/lib/abraflexi-mailer/SendUnsentAttachments.php | 1800 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 1030 |
| ./usr/lib/abraflexi-mailer/composer.json | 1102 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 174 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./ | |
| ./etc/ | |
| ./etc/abraflexi-mailer/ | |
| ./etc/abraflexi-mailer/.env.template | 366 |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-send | 73 |
| ./usr/bin/abraflexi-send-unsent | 60 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 71 |
| ./usr/bin/abraflexi-show-unsent | 62 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Mailer.php | 6821 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 4193 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2058 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 579 |
| ./usr/lib/abraflexi-mailer/SendUnsentAttachments.php | 1800 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 1030 |
| ./usr/lib/abraflexi-mailer/composer.json | 1102 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 174 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./ | |
| ./etc/ | |
| ./etc/abraflexi-mailer/ | |
| ./etc/abraflexi-mailer/.env.template | 366 |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-send | 73 |
| ./usr/bin/abraflexi-send-unsent | 60 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 71 |
| ./usr/bin/abraflexi-show-unsent | 62 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Mailer.php | 6821 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 4193 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2058 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 579 |
| ./usr/lib/abraflexi-mailer/SendUnsentAttachments.php | 1800 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 1030 |
| ./usr/lib/abraflexi-mailer/composer.json | 1102 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 174 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./ | |
| ./etc/ | |
| ./etc/abraflexi-mailer/ | |
| ./etc/abraflexi-mailer/.env.template | 366 |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-send | 73 |
| ./usr/bin/abraflexi-send-unsent | 60 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 71 |
| ./usr/bin/abraflexi-show-unsent | 62 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Mailer.php | 6821 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 4193 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2058 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 579 |
| ./usr/lib/abraflexi-mailer/SendUnsentAttachments.php | 1800 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 1030 |
| ./usr/lib/abraflexi-mailer/composer.json | 1102 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 174 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./ | |
| ./etc/ | |
| ./etc/abraflexi-mailer/ | |
| ./etc/abraflexi-mailer/.env.template | 366 |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-send | 73 |
| ./usr/bin/abraflexi-send-unsent | 60 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 71 |
| ./usr/bin/abraflexi-show-unsent | 62 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Mailer.php | 6821 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 4193 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2058 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 579 |
| ./usr/lib/abraflexi-mailer/SendUnsentAttachments.php | 1800 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 1030 |
| ./usr/lib/abraflexi-mailer/composer.json | 1102 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 174 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11670 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7426 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2406 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4255 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 473 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 1769 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 1686 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11670 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7426 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2406 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4255 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 469 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 1769 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 1686 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11670 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7426 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2406 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4255 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 472 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 1769 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 1686 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11670 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7426 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2406 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4255 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 471 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 1769 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 1686 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11670 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7426 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2406 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4255 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 470 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 1769 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 1686 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11670 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7426 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2406 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4255 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 471 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 1769 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 1686 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/CompanyLogo.php | 2653 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11815 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 8114 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2812 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4271 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 820 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 643 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/doc/abraflexi-mailer/example.env | 384 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 2611 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 2493 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11834 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 8224 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2812 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4271 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 634 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 2364 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 2245 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/CompanyLogo.php | 2653 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11815 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 8114 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2812 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4271 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 820 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 645 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/doc/abraflexi-mailer/example.env | 384 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 2611 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 2493 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11834 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 7740 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/SablonaMail.php | 622 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2812 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4271 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 1047 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/.env.template | 384 |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 550 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 2364 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 2245 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/CompanyLogo.php | 2653 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11815 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 8114 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2812 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4271 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 820 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 644 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/doc/abraflexi-mailer/example.env | 384 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 2611 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 2493 |
| ./ | |
| ./usr/ | |
| ./usr/bin/ | |
| ./usr/bin/abraflexi-bulkmail | 63 |
| ./usr/bin/abraflexi-send | 67 |
| ./usr/bin/abraflexi-send-unsent | 64 |
| ./usr/bin/abraflexi-send-unsent-with-attachments | 78 |
| ./usr/bin/abraflexi-show-unsent | 64 |
| ./usr/lib/ | |
| ./usr/lib/abraflexi-mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/ | |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Body.php | 509 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/CompanyLogo.php | 2653 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/DocumentMailer.php | 11815 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/Templater.php | 8114 |
| ./usr/lib/abraflexi-mailer/AbraFlexi/Mailer/mailbody.php | 446 |
| ./usr/lib/abraflexi-mailer/BulkMail.php | 2812 |
| ./usr/lib/abraflexi-mailer/SendDocument.php | 2573 |
| ./usr/lib/abraflexi-mailer/SendUnsent.php | 962 |
| ./usr/lib/abraflexi-mailer/SendUnsentWithAttachments.php | 4271 |
| ./usr/lib/abraflexi-mailer/ShowUnsent.php | 2134 |
| ./usr/lib/abraflexi-mailer/composer.json | 820 |
| ./usr/share/ | |
| ./usr/share/doc/ | |
| ./usr/share/doc/abraflexi-mailer/ | |
| ./usr/share/doc/abraflexi-mailer/changelog.gz | 642 |
| ./usr/share/doc/abraflexi-mailer/copyright | 495 |
| ./usr/share/doc/abraflexi-mailer/example.env | 384 |
| ./usr/share/locale/ | |
| ./usr/share/locale/cs_CZ/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/ | |
| ./usr/share/locale/cs_CZ/LC_MESSAGES/abraflexi-mailer.mo | 2611 |
| ./usr/share/locale/en_US/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/ | |
| ./usr/share/locale/en_US/LC_MESSAGES/abraflexi-mailer.mo | 2493 |
Scripts for sending documents are available:
SendUnsent.php - sends unsent documents in bulk directly from AbraFlexi in the standard way
SendUnsentAttachments.php - finds unsent documents, attaches attachments to them, and sends them via the default PHP mailer or SMTP
Documents are sent to addresses according to the following key:
If an address with the prefix cc is found in the document note, e.g., "cc:email@example.com, cc:copy@example.com", a copy will also be sent to these emails.
Configuration is done by entering directives into the .env file, defining them as constants, or setting environment variables. The Debian package expects the configuration file in the /etc/abraflexi-mailer folder, where a sample file .env.template is available.
The mailer now uses the MAIL_DSN variable, following the Symfony mailer DSN format. The previously used EASE_SMTP is deprecated.
Example for SMTP:
MAIL_DSN="smtp://username:password@mail.example.com:587?encryption=tls&auth_mode=plain"
Replace username, password, and mail.example.com with your actual SMTP credentials and server.
APP_NAME=AbraFlexiMailer - application name in syslog
APP_DEBUG=true - enable debug mode
MUTE=true - do not send messages to recipients but to
MAIL_DSN="smtp://username:password@mail.example.com:587?encryption=tls&auth_mode=plain" - mail transport DSN (Symfony format)
EASE_MAILTO=info@vitexsoftware.cz - messages are sent here if mute is active
ABRAFLEXI_URL="https://demo.abraflexi.eu:5434"
ABRAFLEXI_LOGIN="winstrom"
ABRAFLEXI_PASSWORD="winstrom"
ABRAFLEXI_COMPANY="demo"
ABRAFLEXI_CUSTOMER="demo"
ADD_LOGO=true - include company logo in the email
ADD_QRCODE=true - include QR payment image in the email
MAIL_CC=info@vitexsoftware.cz - send all emails also in copy to this address
MAIL_FROM=office@vitexsoftware.cz - sender address
EASE_LOGGER="console|syslog" - logging method
SEND_LOCKED=False - try to temporarily unlock a locked document
DRY_RUN=False - if enabled, does not write the date and sending status to documents
It is assumed that the template is named according to the record type, e.g., invoice-issued.ftl and is stored in the "templates" folder ( /usr/share/abraflexi-mailer/templates in Debian )
The following variables can be used in the templates:
If we want to send emails to all clients from Nerudova Street in Prague:
abraflexi-bulkmail templates/template.ftl "(city='Prague' AND street='Nerudova')"
By default recipients are selected from the address book (adresar). Set ABRAFLEXI_BULKMAIL_EVIDENCE to use another evidence
(e.g. kontakt, osoba, faktura-vydana); the query is then applied to that evidence and the address is taken from its
email column (kontaktEmail for documents). Each address is mailed only once.
When used in a template, the variables for each sent message are filled from https://demo.flexibee.eu/c/demo_de/addressbook/properties
This tool uses the following libraries for its functionality:
This software would not have been created without the support of:
AbraFlexi Mailer is ready to run as a MultiFlexi application. See the full list of ready-to-run applications within the MultiFlexi platform on the application list page.
Since version 1.3.8, all produced reports conform to the MultiFlexi report schema, ensuring proper integration and monitoring capabilities within the MultiFlexi ecosystem.
For Linux, .deb packages are available. Please use the repo:
echo "deb http://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install abraflexi-mailer
After installing the package, the following new commands are available in the system:
The confirmation commands accept a document identifier via --docid parameter or DOCID environment variable.
Based on the document ID, the recipient is determined from the address book and a confirmation email is sent.
abraflexi-potvrzeni-prijeti-uhrady --docid=VF1-0001/2026
DOCID=123 abraflexi-potvrzeni-prijeti-faktury
Additional environment variables for confirmations:
MAIL_SIGNATURE - email signature text appended to the messageSEND_INFO_TO - Cc address for confirmation copiesThis application uses the following exit codes:
0: Success1: General error / Missing document ID2: Failed to send email3: Cannot read document from AbraFlexiA mail to a customer is written in the language the customer chose in ClientZone.
ClientZone remembers it as the label LANG_CS, LANG_EN, ... of the customer's
company (adresar) in AbraFlexi, and abraflexi-send reads the label of the company
on the document. It then uses the matching translation (cs_CZ, en_US) and the
template templates/<lang>/<evidence>.ftl when there is one, otherwise
templates/<evidence>.ftl. Without the label, or for a language without a
translation, the configured LOCALIZE (default cs_CZ) is used.
abraflexi-potvrzeni-prijeti-platby (MultiFlexi application "Potvrzení přijetí platby") confirms money that
came to the bank or to the cash desk to the customer who paid:
DOCID=<id> EVIDENCE=banka|pokladni-pohyb abraflexi-potvrzeni-prijeti-platby
banka and pokladni-pohyb, operations create and update, DOCID=recordid, EVIDENCE=evidence).firma) - the
payment was paired with an invoice or with the deduction of an advance, or the payer was known from the start.
Unknown payer, outgoing or cancelled payment: nothing is sent and it is no error.UHRADA_POTVRZENA (created when missing), so the following changes
of the record do not send it again.LANG_xx of the company) and names the invoices the payment
was paired with.Without DOCID the application goes through the payments of the bank and the cash desk changed in the last
CONFIRM_DAYS_BACK days (3 by default) and confirms those that were not confirmed yet. Run it now and then
(a MultiFlexi run template with an interval, e.g. every 15 minutes) besides the event rules: an event can be lost,
and the payer may become known long after the payment came. The label UHRADA_POTVRZENA makes sure that a payment
is confirmed once whichever of the two gets to it first.
| Version | Download/Install count | Last hit |
|---|