python-smpplib icon indicating copy to clipboard operation
python-smpplib copied to clipboard

Can i listen delivery report on a different process.

Open adomigold opened this issue 1 year ago • 0 comments

Hello I'm trying to use smpplib with the Django web framework, but there was an issue because the web request-response cycle is typically short-lived while delivery reports can arrive at any time. So I decided to use multiprocessing run on Django management command as a service to maintain a persistent connection to the smpp server and handle delivery reports as they arrive.

So my question is, Is this a best practice for using smpplib, would it cause any issues like some delivery reports being missed if yes what is the solution to this issue?

Thank you

adomigold avatar May 03 '24 05:05 adomigold