cURL / Mailing Lists / curl-library / Single Mail

curl-library

Cancelling Mail Request

From: Nazim Oztahtaci <nazim_oztahtaci_at_hotmail.com>
Date: Mon, 19 Dec 2011 07:33:08 +0000

Hello,

In my Smtp module, I send email requests recursively but randomly I would like to send Cancel mail request so if there is any email request which is being processed by cUrl, that should be cancelled and not delivered to Mail server. I have implemented a solution and I remove the handler in the middle of process but still in mail server, I receive empty emails because some header data is being sent by cUrl anyway. Is there any way in cUrl to cancel one mail request using smtp services? Kind of a clean up message or request which can be sent to Mail server by cUrl so we dont even receive an empty email.

Best regards
                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-19