Re: How to cancel a tny_transport_account_send?



Philip Van Hoof wrote:

> Anyway, keep in mind atomicy when cancelling: don't promise the user you
> cancelled something if you have just sent the last byte to the SMTP
> server. You wont have cancelled the sending of the message.
> 
> It's also quite hard to make any promise to the user about his
> cancellation. You never know how far it got. You also don't control what
> the SMTP server will do with the partial message.

So, would you be in favour of adding the start/stop_operation stuff to
the send queue?

Br


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]