Download the PHP package simplement/mailqueue without Composer
On this page you can find all versions of the php package simplement/mailqueue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download simplement/mailqueue
More information about simplement/mailqueue
Files in simplement/mailqueue
Package mailqueue
Short Description Simple queue for outcoming mails for Nette Framework.
License BSD-3-Clause GPL-2.0 GPL-3.0
Homepage https://github.com/simplement
Informations about the package mailqueue
Simplement \ MailQueue
Simplement\MailQueue is a small extension for Nette Framework, which will wrap default Nette SendmailMailer
or SmtpMailer
by it's own Mailer
class. All outcoming mails are then redirected into mail queue, which is by default implemented by Kdyby\Doctrine entity.
If you don't wan't to use default mail queue, you can simply implement your own by extending Simplement\MailQueue\IEntry
and Simplement\MailQueue\IQueue
interfaces and create e.g. file system mail queue instead of database system one.
Then you can setup cron, which will in given inteval send dose of fronted mails e.g. using command
Requirements
Nette Framework and Kdyby\Console, recommended Kdyby\Doctrine.
Benefits
- All outcoming mails aren't sent inmediatelly, but they are moved to queue -> response to client is much faster.
- You don't have to update you current app code. All mails are after setting this extension automatically redirected into mail queue.
- If the app is unnable to send mail (due to loss of internet connection etc.) app will not crush, but reschedule mail and try it send again in set interval.
- You can set priority to each mail.
- You can set default
from
email address, which will be used if mail doesn't have it set.
Configuration
Usage
All versions of mailqueue with dependencies
nette/mail Version ~2.3
tracy/tracy Version ~2.3
kdyby/console Version ~2.3