I want to send bulk emails and I've found (Is there a limit when using php mail function?) the recommended way is to use PEAR Mail_Queue.
But that question is too old, and I've also read PEAR is almost deprecated and replaced by Composer now.
Is there any alternative to Mail_Queue in Composer? or some other method to send bulk emails with PHP?
* Also is welcome if you can reply as a bonus if Mail_Queue is a PECL extension or a Library, or how to identify that in general.
            Asked
            
        
        
            Active
            
        
            Viewed 299 times
        
    1
            
            
        
        Enrique
        
- 4,693
 - 5
 - 51
 - 71
 
- 
                    I write a queue from structure for beginner if you want u build from structure...https://github.com/diloabininyeri/php-redis-supervisor-queue – dılo sürücü Sep 08 '19 at 19:02
 
1 Answers
2
            Actually you can install both PEAR::Mail and PEAR::Mail_Queue with composer:
composer require pear/mail
composer require pear/mail_queue
Edit:
Packagist says that Mail_Queue is abandoned, so, I recommend using Swift Mailer as an alternative.
Check Sending Emails in Batch to achieve what you want.
        Caconde
        
- 4,177
 - 7
 - 35
 - 32
 
- 
                    1OK, so Mail_Queue is not a PECL extension. Inside packagist it says: "This package is abandoned and no longer maintained. No replacement package was suggested." maybe there is a better option now? – Enrique Sep 06 '19 at 22:40
 - 
                    
 - 
                    July 2023: Swift Mailer home page delcares that it is EOL as of November 2021. The next package in its evolution is Symfony/Mailer https://symfony.com/doc/current/mailer.html – joehanna Jul 12 '23 at 21:33