Tk Library Source Code

View Ticket
Login
Ticket UUID: 561416
Title: can't handle list of mail servers
Type: Bug Version: None
Submitter: nobody Created on: 2002-05-28 08:57:12
Subsystem: smtp Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-05-29 23:35:44
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2002-05-29 16:35:44
Description:
problem
-------
the procedure smtp::sendmessage has the option
'-servers' for a list of available mail servers.
Unfortunately the variable state(readable) is not reset
after a failed connection the other servers in the list
will also fail.

solution
--------
in procedure smtp::initialize add

   set state(readable) 0

at the beginning of the loop

   foreach server $options(-servers) {
     ...
   }

best regards
-- Beat Jucker
User Comments: andreas_kupries added on 2002-05-29 23:35:44:
Logged In: YES 
user_id=75003

Change committed to head.

mrose added on 2002-05-29 09:35:48:
Logged In: YES 
user_id=24077

andreas - go ahead and make this change...

thanks!

/mtr

ps: Beat - in future, a patch is always appreciated...