Open realtebo opened 1 week ago
Yes, only acknowledge when e-mail sending was successful. Please also check how your queue is configured.
Should I move only
$resolver->acknowledge($message);
$resolver->stopWhenProcessed();
or both ?
$resolver->acknowledge($message);
$resolver->stopWhenProcessed();
What's the difference between the 2?
I am using your project to implement a queue-supported mail sending system
i would like that the mail to send, in the queue, wil NOT BE lost if sending mail crashes for some reason.
Could I simply move
$resolver->acknowledge($message);
into thetry
branch? If I do this, and the code skip tocatch
branch, will the message in the queue be lost or is this available again and again untile someone reading it will also aknowledge?