Questions tagged [mail-queue]
38 questions
33
votes
5 answers
How do I diagnose this PHP segmentation fault?
I am running a command-line PHP job that is resulting in a Segmentation Fault. This job has worked for a long time, but it processes something that is emailed in. Apparently there's something in this email that's break it, but I have no idea what.…

Dave
- 1,420
- 3
- 17
- 25
10
votes
1 answer
fwrite() ssl broken pipe in swiftmailer while sending email
I am using Laravel 5.2. I am using Mail queue for sending email. Following is email queue syntax.
$mailArr = array();
$mailArr['subject'] = 'testing mail';
$mail_body = 'testing mail';
$mailArr['description'] = …

Jass
- 3,345
- 3
- 24
- 41
6
votes
1 answer
Does SwiftMailer support asynchronous mail sending the way Mail_Queue does?
I want to send my emails using sendgrid's SMTP servers, but connecting to them, not at "Web-time", but via a (simple) queue.
I know PEAR's Mail_Queue can enable me to do that, but can I do it using SwiftMailer?
(What are exactly the fonctional…

julien_c
- 4,942
- 5
- 39
- 54
6
votes
4 answers
Mailgun : Cancel queued emails
I am using mailgun API to send emails. By mistake I called a function that queued thousands of emails in Mailgun.
Is there a way to Cancel/Clear the queue?

Nishit Modi
- 175
- 1
- 18
3
votes
1 answer
PEAR mail-queue tutorial configuration trouble
I believe that I am having problems with the .config file for the PEAR mail-queue tutorial.
I have checked my paths and they are fine.

george goleniewski
- 141
- 1
- 8
3
votes
4 answers
Execute shell command with pipes in Python
I'm new to Python, tried googling, but no help..
I need to call such commands in pipes (Get the oldest pending mail from mailq):
mailq |grep "^[A-F0-9]" |sort -k5n -k6n |head -n 1
The command works in shell.
In Python I wrote the following:
p =…

0x49D1
- 8,505
- 11
- 76
- 127
3
votes
3 answers
Laravel Mail Queue: change transport on fly
I'm trying to use different SMTP configuration for each user of my application. So, using Swift_SmtpTransport set a new transport instance, assign it to Swift_Mailer and then assign it to Laravel Mailer.
Below the full snippet:
$transport =…

Luciano
- 1,455
- 8
- 22
- 52
2
votes
1 answer
Error in PHP Mail_Queue PEAR library
I'm getting the following error when trying to use the PHP Mail_Queue PEAR library:
Declaration of Mail_Queue::isError() should be compatible with that of PEAR::isError()
PHP 5.2.3, Mail Queue Version 1.2.3
Searching on Google hasn't turned up…

Ed Eliot
- 123
- 2
- 8
2
votes
1 answer
CMSIS-RTOS's osMailFree() returns some address instead of osStatus-type value
So I'm using CMSIS-RTOS mail-queue mechanics with Keil uVision 5.0.5 at STM32F427 microcontroller running at 180MHz. And every now and then releasing previously allocated mailbox element with osMailFree() resulted in some address being returned…

Victor Che
- 75
- 7
2
votes
1 answer
Mail::queue not sending email
I'm stuck with sending emails with queues in Laravel 4. Let me describe my problem:
This works:
Mail::send('emails.validateEmail', array("username" => Input::get("username"), "code" => $code), function($message){
$message->to(Input::get('email'),…

Alen
- 1,750
- 7
- 31
- 62
2
votes
1 answer
How to implement a mail queue that can be easily integrated with SendGrid
The goal:
Implementing a modular, re-usable, object-oriented class, or package, that will be in charge of automating the process of user notifications.
Those notifications are send according to a certain set of rules, to multiple users, in the…

Oleg Belousov
- 9,981
- 14
- 72
- 127
1
vote
1 answer
Trouble using PEAR's Mail_Queue
I'm trying to implement PEAR's Mail_Queue package to queue some emails for a web application. I've used the documentation at http://pear.php.net/manual/en/package.mail.mail-queue.mail-queue.tutorial.php to write a small test script.
My problem is…

xyhhx
- 6,384
- 6
- 41
- 64
1
vote
0 answers
Mail_Queue PHP Crond - mail sends but PHP process hangs
This has been causing me a problem since I upgraded to PHP 5.3. The problem didn't happen with PHP 5.2.
I have a PHP script (which is pretty much the stock Mail_Queue script) to send messages.
I'm executing the script via cron:
php…

pixel_paul
- 21
- 6
1
vote
1 answer
PHP Mail_Queue without PEAR
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…

Enrique
- 4,693
- 5
- 51
- 71
1
vote
2 answers
How to flush the queue in DragonFly Mail Agent (DMA)
DMA keeps on trying to send this EMail:
$ dma -bp
ID : c08be.177cb00
From: example@foo.bar
To : example@foo.bar
How can I flush the queue?

paddel10
- 170
- 1
- 12