Bugs: Browse | Submit New | Admin
Hi, delete_spam() returns true but does not delete the spam. Logging in and retrieving messages works fine, through. I'm using version 0.1.14. Cheers, Michael
Add A Comment:
Date: 2007-01-07 06:00 Sender: Park Heesob Hi, The library doesn't produce log messages. Please send me the output after removing # of all # np.set_debug_output($stderr) in gmailer.rb source code. Regards, Park Heesob
Date: 2007-01-07 02:40 Sender: Michael Schubart Hi Park, I've tried your code: Even though it does change all spam messages from "unread" to "read", it does not delete them. Is there anything I can do to help debugging this? Does the library produce a log file somewhere that I could attach? Thanks, Michael
Date: 2007-01-06 01:38 Sender: Park Heesob Hi, You may have tried delete_spam with wrong message id. Here is the code to delete all spams. GMailer.connect(name, pwd) do |g| g.messages(:standard=>'spam').each_msg {|msg| g.delete_spam(msg.id) } end Regards, Park Heesob