⟵ hearthere ⟶
  • Quick start
  • Install MIT
  • Install PRO
  • Updating
  • Optimization
  • Update v4-v6
  • Backups
  • Console utility bin/totum
  • Basics for users
  • Interface and Layout
  • Tables and their parameters
  • Prefilter
  • Fields and their parameters
  • Syntax
  • Code, actions, formatting
  • Relational relationships
  • Calculation order and calculation units
  • Auto-complete calculations and timing
  • Duplicate rows and cycles
  • Comparisons
  • Functions
  • Debugging
  • Print and CSV
  • API
  • Roles and users
  • Notifications
  • Scheduled Actions
  • System tables
  • Trees
  • Anonymous tables
  • External Forms
  • Exporting and importing tables
  • [PRO] MeiliSearch
  • [PRO] Databases
  • [PRO] Custom CSS
  • [PRO] Custom docs
  • [PRO] LDAP AD
  • [PRO] File versions
  • [PRO] List-unsubscribe
  • [PRO] Dynamic fields
  • [PRO] Only Office
  • [PRO] Auth Tokens
  • [PRO] 2FA
  • [PRO] Superlang
  • [PRO] Daemons
  • [PRO] Profiler
  • Connecting functions
  • [SRV] Installation and Connection
  • [SRV] Export, PDF, Upload, and Preview
  • [SRV] XLSX/DOCX Generators
  • PRO List-unsubscribe

    Configured in the ttm__list_unsubscribe table:

    • h_header — adds a header with list-unsubscribe to the sent emails, containing an encrypted link. Clicking this link will immediately add the recipient's email to the blocked list in this table.

    • h_link — adds an unsubscribe link in the email body. By clicking this link, the user will see an unsubscribe button, and clicking this button will add their email to the blocked list.

    • h_enable — checks if the email is in the blocked list in the current table when sending an email. If active, the email will not be sent to the blocked address.

    The presence of the header and link reduces the chance of the email being marked as Spam, but in some cases, the presence of the list-unsubscribe header may cause the email to be placed in the Promotions or similar folders.

    These settings can also be defined through Conf.php (in cases where SMTP settings are also set through Conf) — in this case, the settings in this table will no longer apply.

    To enable through Conf.php, open it:

    nano /home/totum/totum-mit/Conf.php
    

    Add the enablelistunsubscribe and blockhiddencopy parameters to the protected $SmtpData block:

    protected $SmtpData = [
    'host' => 'YOUR_SMTP_HOST_HERE',
    'port' => 'YOUR_SMTP_PORT_HERE',
    'login' => 'YOUR_SMTP_LOGIN_HERE',
    'pass' => 'YOUR_SMTP_PASS_HERE',
    
    'enablelistunsubscribe' => true,
    'blockhiddencopy' => true
    ];
    
    • enablelistunsubscribe — enables h_header and h_link for all schemes.

    • blockhiddencopy — blocks the hiddencopy parameter of the emailSend function for all schemes.