Hi,
I am trying to execute the following code for capturing mail from the POP server using PLSQL :
2020101
But at 1 point i.e.
loop
bytes := UTL_TCP.available( socket );
if bytes > 0 then
bytes := UTL_TCP.read_line( socket, line );
PIPE ROW( line );
end if;
exit when bytes = 0;
end loop;
In the above listed code, "bytes" is an integer. In this case, the "if" condition is never getting satisfied i.e. inspite of their being a mail in the POP server it takes bytes as 0. Can anyone tell me the reason for this ?