Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* fixed bug in zipping pop3 mbox

  • Loading branch information...
commit 79c0cfd556aa360cf5d442c0e3e696951251c6b6 1 parent f792f63
@hone authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/pop3.rb
View
2  app/models/pop3.rb
@@ -49,7 +49,7 @@ def download
write_mbox( mbox_name )
mbox_zip = "#{mbox_name}.zip"
zip_output = "#{FILE_DIR}/#{mbox_name}.zip"
- zip( "#{TMP_DIR}/#{mbox_name}", zip_output )
+ zip( { "#{TMP_DIR}/#{mbox_name}" => "inbox.mbox" }, zip_output )
@mailer.finish
rescue Net::POPAuthenticationError
status = AUTHENTICATION_ERROR_FLAG

0 comments on commit 79c0cfd

Please sign in to comment.
Something went wrong with that request. Please try again.