faisalrehmanid / fr-background-mail
This library provide send mail or send mass mail in background
Package info
github.com/faisalrehmanid/fr-background-mail
pkg:composer/faisalrehmanid/fr-background-mail
2.0.0
2026-04-28 04:44 UTC
Requires
- faisalrehmanid/fr-db: >=1.0
- symfony/mailer: ^8.0
README
Requirements
PHP ^8.4 PHP Gearman Extension Reference
Features
- Dynamic dedicated workers for each job, start workers on the fly
- Rich configurations. Configure number of dedicated workers for each background job in config
- No execution delay. Start execution job immediately when submitted
- Retry to send not delivered emails. Configure number of retry in config
- Remove workers from memory when job completed and remove stucked workers as well
- Don't need to restart workers when make any change to code
- Support both SMTP authenticated and non-authenticated mails
- Support up to 6 attachments in each email
- Support MySQL and Oracle database storage for sent log
- Throw errors and output in
error-logs-gearmanfolder at root. Very useful for debugging
How to use
Check out the examples folder given in package.