Loading...
 

Mail Queue

Since Tiki10 there is a feature to place all notification email messages in a queue, and send all those emails periodically through a Cron job using ./console.php script with mail-queue:send parameter. See also Console

(N.B. Historical note: Prior to Tiki 12.2 the command was ./sendmail.php)

This requires setting up mail delivery with a SMTP server instead of just sendmail, and set it to use a Queue.

Settings


See Admin home > General > General Preferences > Mail

In some servers (email accounts set up with ISPConfig standard options), this is known to work with:

  • Authentication PLAIN
  • Security: TLS
  • Port: 587
  • Local server name: server.example.com
    (i.e., the real Fully Qualified Domain Name of the server, which is not the same as the mailname, which could be example.com or mail.example.com, or the smtp server, which usually is smtp.example.com).

Click to expand
Click to expand

Temporary storage

The messages temporarily sent to the smtp queue are stored in tiki database table tiki_mail_queue, which has these 3 fields:

  • messageId
  • message
  • attempts

Cron

Example of cron job in a linux box, for site1.example.com on a Multitiki instance at directory /var/www/tiki, that will send emails from the queue every 5 minutes starting at minute 2 of each hour (see Console and Cron for more details):

Copy to clipboard
2,7,12,17,22,27,32,37,42,47,52,57 * * * * cd /var/www/tiki/;php console.php mail-queue:send --site=site1.example.com > /dev/null 2>&1



Alias names of this page:
Queue | Email Queue | E-mail Queue | EmailQueue | E-mailQueue | MailQueue

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki