A summary of data about the Ruby ecosystem.

https://github.com/ruby/net-pop

This library provides functionality for retrieving email via POP3, the Post Office Protocol version 3. For details of POP3
https://github.com/ruby/net-pop

Keywords

hacktoberfest ruby

Keywords from Contributors

webrick repl bigdecimal debugging-tool debugger strscan rubygems documentation-tool lalr-parser-generator parser-generator

Last synced: about 19 hours ago
JSON representation

Repository metadata

This library provides functionality for retrieving email via POP3, the Post Office Protocol version 3. For details of POP3

README.md

Net::POP3

This library provides functionality for retrieving
email via POP3, the Post Office Protocol version 3. For details
of POP3, see RFC1939.

Installation

Add this line to your application's Gemfile:

gem 'net-pop'

And then execute:

$ bundle

Or install it yourself as:

$ gem install net-pop

Usage

This example retrieves messages from the server and deletes them
on the server.

Messages are written to files named 'inbox/1', 'inbox/2', ....
Replace 'pop.example.com' with your POP3 server address, and
'YourAccount' and 'YourPassword' with the appropriate account
details.

require 'net/pop'

pop = Net::POP3.new('pop.example.com')
pop.start('YourAccount', 'YourPassword')             # (1)
if pop.mails.empty?
  puts 'No mail.'
else
  i = 0
  pop.each_mail do |m|   # or "pop.mails.each ..."   # (2)
    File.open("inbox/#{i}", 'w') do |f|
      f.write m.pop
    end
    m.delete
    i += 1
  end
  puts "#{pop.mails.size} mails popped."
end
pop.finish                                           # (3)
  1. Call Net::POP3#start and start POP session.
  2. Access messages by using POP3#each_mail and/or POP3#mails.
  3. Close POP session by calling POP3#finish or use the block form of #start.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/net-pop.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 155
Total Committers: 26
Avg Commits per committer: 5.962
Development Distribution Score (DDS): 0.613

Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
aamine a****e@b****e 60
Hiroshi SHIBATA h****t@r****g 36
kazu k****u@b****e 9
matz m****z@b****e 7
nobu n****u@b****e 7
dependabot[bot] 4****] 4
drbrain d****n@b****e 4
glass g****s@b****e 3
akr a****r@b****e 3
gotoyuzo g****o@b****e 2
gsinclair g****r@b****e 2
normal n****l@b****e 2
Olle Jonsson o****n@g****m 2
shugo s****o@b****e 2
Benoit Daloze e****p@g****m 1
Jeremy Evans c****e@j****t 1
Junichi Sato 2****1 1
Takashi Kokubun t****n@g****m 1
Vít Ondruch v****h@r****m 1
zzak z****k@b****e 1
a_matsuda a****a@b****e 1
eban e****n@b****e 1
knu k****u@b****e 1
marcandre m****e@b****e 1
mohamed m****z@g****m 1
naruse n****e@b****e 1

Committer domains:


Issue and Pull Request metadata

Last synced: about 1 month ago

Total issues: 6
Total pull requests: 26
Average time to close issues: 4 days
Average time to close pull requests: 24 days
Total issue authors: 5
Total pull request authors: 13
Average comments per issue: 2.17
Average comments per pull request: 0.69
Merged pull request: 20
Bot issues: 0
Bot pull requests: 4

Past year issues: 0
Past year pull requests: 3
Past year average time to close issues: N/A
Past year average time to close pull requests: about 1 month
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ruby/net-pop

Top Issue Authors

  • Neustradamus (2)
  • pyama86 (1)
  • dirkjonker (1)
  • kkohrt (1)
  • 9mm (1)

Top Pull Request Authors

  • hsbt (7)
  • dependabot[bot] (4)
  • nevans (2)
  • nobu (2)
  • olleolleolle (2)
  • krhitoshi (2)
  • k0kubun (1)
  • voxik (1)
  • sato11 (1)
  • eregon (1)
  • AlessioC31 (1)
  • mohamedhafez (1)
  • G-Rath (1)

Top Issue Labels

Top Pull Request Labels

  • dependencies (4)
  • github_actions (2)

Package metadata

gem.coop: net-pop

Ruby client library for POP3.

  • Homepage: https://github.com/ruby/net-pop
  • Documentation: http://www.rubydoc.info/gems/net-pop/
  • Licenses: Ruby,BSD-2-Clause
  • Latest release: 0.1.2 (published over 3 years ago)
  • Last Synced: 2026-04-27T23:31:55.588Z (3 days ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 212,189,074 Total
  • Docker Downloads: 3,628,708,690
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.046%
    • Downloads: 0.139%
  • Maintainers (1)
guix: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/ruby-xyz.scm#n4427
  • Licenses: bsd-2
  • Latest release: 0.1.2 (published about 2 months ago)
  • Last Synced: 2026-04-27T16:19:52.132Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.504%
    • Forks count: 0.931%
    • Stargazers count: 1.084%
rubygems.org: net-pop

Ruby client library for POP3.

  • Homepage: https://github.com/ruby/net-pop
  • Documentation: http://www.rubydoc.info/gems/net-pop/
  • Licenses: Ruby,BSD-2-Clause
  • Latest release: 0.1.2 (published over 3 years ago)
  • Last Synced: 2026-04-28T18:30:38.276Z (2 days ago)
  • Versions: 3
  • Dependent Packages: 12
  • Dependent Repositories: 33,565
  • Downloads: 212,395,924 Total
  • Docker Downloads: 3,628,708,690
  • Rankings:
    • Docker downloads count: 0.025%
    • Dependent repos count: 0.183%
    • Downloads: 0.326%
    • Dependent packages count: 1.745%
    • Average: 3.745%
    • Forks count: 7.719%
    • Stargazers count: 12.472%
  • Maintainers (1)
proxy.golang.org: github.com/ruby/net-pop

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ruby/net-pop#section-documentation
  • Licenses: bsd-2-clause
  • Latest release: v0.1.2 (published over 3 years ago)
  • Last Synced: 2026-04-26T05:24:11.229Z (4 days ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 5.952%
    • Stargazers count: 8.302%
    • Average: 8.658%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
alpine-v3.18: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r0 (published about 3 years ago)
  • Last Synced: 2026-04-16T11:06:18.997Z (14 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 12.511%
    • Forks count: 24.079%
    • Stargazers count: 25.964%
  • Maintainers (1)
alpine-v3.18: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r0 (published about 3 years ago)
  • Last Synced: 2026-04-09T03:02:47.162Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 12.511%
    • Forks count: 24.079%
    • Stargazers count: 25.964%
  • Maintainers (1)
alpine-v3.16: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.1-r0 (published about 4 years ago)
  • Last Synced: 2026-04-02T15:37:48.459Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 16.328%
    • Forks count: 18.325%
    • Stargazers count: 19.675%
    • Dependent packages count: 27.311%
  • Maintainers (1)
alpine-v3.16: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.1-r0 (published about 4 years ago)
  • Last Synced: 2026-04-01T15:10:25.978Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 16.328%
    • Forks count: 18.325%
    • Stargazers count: 19.675%
    • Dependent packages count: 27.311%
  • Maintainers (1)
alpine-edge: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r2 (published about 1 year ago)
  • Last Synced: 2026-03-23T09:06:18.677Z (about 1 month ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 14.641%
    • Average: 16.845%
    • Forks count: 25.231%
    • Stargazers count: 27.509%
  • Maintainers (1)
alpine-edge: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r2 (published about 1 year ago)
  • Last Synced: 2026-03-23T09:06:25.237Z (about 1 month ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 14.641%
    • Average: 16.967%
    • Forks count: 25.72%
    • Stargazers count: 27.509%
  • Maintainers (1)
alpine-v3.17: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.1-r0 (published about 4 years ago)
  • Last Synced: 2026-04-01T15:13:13.528Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 18.094%
    • Forks count: 21.708%
    • Stargazers count: 23.414%
    • Dependent packages count: 27.254%
  • Maintainers (1)
alpine-v3.17: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.1-r0 (published about 4 years ago)
  • Last Synced: 2026-04-08T14:08:01.303Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 18.094%
    • Forks count: 21.708%
    • Stargazers count: 23.414%
    • Dependent packages count: 27.254%
  • Maintainers (1)
alpine-v3.23: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r2 (published about 1 year ago)
  • Last Synced: 2026-04-09T23:07:19.846Z (21 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.23: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r2 (published about 1 year ago)
  • Last Synced: 2026-04-07T21:02:34.760Z (23 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.19: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r0 (published about 3 years ago)
  • Last Synced: 2026-04-02T15:48:56.824Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.19: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r0 (published about 3 years ago)
  • Last Synced: 2026-04-01T15:11:25.000Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.20: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r1 (published over 2 years ago)
  • Last Synced: 2026-04-08T14:02:58.896Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.20: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r1 (published over 2 years ago)
  • Last Synced: 2026-04-01T15:11:41.142Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.22: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r2 (published about 1 year ago)
  • Last Synced: 2026-04-01T15:10:48.345Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.22: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r2 (published about 1 year ago)
  • Last Synced: 2026-04-01T15:10:46.052Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.21: ruby-net-pop-doc

Ruby client library for POP3 (ri docs)

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r1 (published over 2 years ago)
  • Last Synced: 2026-04-01T15:10:33.689Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.21: ruby-net-pop

Ruby client library for POP3

  • Homepage: https://github.com/ruby/net-pop
  • Licenses: BSD-2-Clause AND Ruby
  • Latest release: 0.1.2-r1 (published over 2 years ago)
  • Last Synced: 2026-04-01T15:10:32.820Z (29 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems
  • bundler >= 0 development
  • rake >= 0 development
  • test-unit >= 0 development
net-pop.gemspec rubygems
  • net-protocol >= 0

Score: 29.387543530984324