[ EN ]    [ DE ]   
kOOL Logo HomeAboutDownloadDocumentation
Rects
Download

  Enable the mailing module

In order for the mailing module to work, you'll need an email domain with one catch all account and set a few settings in config/ko-config.php

 

Usually you would want to use kool.domain.tld as an email domain. All you'll need is one single account which works as a catch all account. This means, that all emails sent to *@kool.domain.tld will end up in this email account. The  kOOL's scheduler task will then regularly check this email account and process all emails. In order for kOOL to be able to do this, you'll have to set the $MAILING_PARAMETER array in your config/ko-config.php file. It contains the mailserver's name (host), the default POP3 port (port), the username and password for the catch all account (user, pass), the email domain to be used for these fake addresses (domain), the settings to activate SSL (ssl), whether the certificate should be validated or not (validate-cert), the default Inbox folder (folder) and the return_path usually set to "USER".

 

Make sure the scheduler is called by a cronjob every 5 minutes or so, then activate the mailing scheduler task in the tools module.

 

As kOOL needs to be able to access the POP3 account your PHP installations needs the imap extension.

Rects
©Renzo Lauper, CH-5000 Aarau, All rights reserved