[Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue)

gambas at ...2524... gambas at ...2524...
Mon Jul 28 08:02:00 CEST 2014


Comment #6 on issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with  
e.g. smtp.gmail.com, responses aren't handled properly (timing issue)
http://code.google.com/p/gambas/issues/detail?id=540

Browsed the code, but i got a comment on it. The following code will wait  
until it gets the "??? ..." (e.g. 250 OK).

===
   If bMulti Then

     Do
       Line Input #$hStream, sLine
       sResponse &= sLine & "\n"
       If sLine Like "??? *" Then Break
     Loop

   Else

     Line Input #$hStream, sLine
     sResponse = sLine

   Endif
===

Only if during the "EHLO" phase we are connect to a port which is up, but  
nothing responds correctly, it will hang forever?

Same goes I think for the bMulti = False, it can also hang on not correct  
input.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list