--- In [email protected], "dalanik1" <[EMAIL PROTECTED]> wrote:
>
> This code works (except decode_mime) with old plugin. With new one, 
> it gets to 8 lines in debug window (nothing is displayed, only line 
> numbers - but this is because of PP i suppose). Just an adaptatin of 
> code supplied with the plugin....

I need musch simpler code to try to track down problem.

Does this work?

=============================

local ml_status
mail.error_dialog_off()
mail.use_long_vars()
mail.returns_values()

local ml_test_server = "pop.****.net"
local ml_test_username = "*****"
local ml_test_password = "*****"
local ml_no_msgs = mail.connect_to_accnt(ml_test_server,
ml_test_username, ml_test_password)
win.debug("ml_no_msgs: " ++ ml_no_msgs ++ " ml_status: " ++ ml_status)

for (local ml_i = 1; ml_i <= ml_no_msgs; ml_i = ml_i + 1)
  win.debug( mail.get_msg_from(ml_i))
endfor

mail.disconnect
quit

=============================

I notice you're using the non-threaded version of 
connect_to_accnt. 

I would expect that to result in PowerPro locking up if server was
slow or not responding. 

Also, may I please have errors you found in sample scripts?






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to