Tk Library Source Code

View Ticket
Login
Ticket UUID: 3423097
Title: smtp lacks -timeout option
Type: RFE Version: None
Submitter: zbigniew_b Created on: 2011-10-13 18:20:46
Subsystem: smtp Assigned To: mrose
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:39
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
There's a need for such option, to assure reliability for scipts using smtp client package. I made a simple "experiment": while sending a few mails simply pulled ethernet plug out of the socket - the script went "frozen" for several minutes (didn't measure...), until I plugged it in again. IMHO there should be possibility to give up ("-timeout x", where "-timeout 0" could mean "keep trying unlimited time"), And perhaps it could be improved a bit: to keep the entire script responsible, even in the case of network problems, like loss of connectivity?