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 documentation-tool rubygems parser-generator lalr-parser-generator

Last synced: about 5 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: 1 day 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: 15 days ago

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

Past year issues: 0
Past year pull requests: 2
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: 1
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)

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 about 3 years ago)
  • Last Synced: 2025-12-09T19:02:44.439Z (about 12 hours ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 185,784,018 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)
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 about 3 years ago)
  • Last Synced: 2025-12-06T00:01:29.745Z (4 days ago)
  • Versions: 3
  • Dependent Packages: 12
  • Dependent Repositories: 33,565
  • Downloads: 185,264,933 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 about 3 years ago)
  • Last Synced: 2025-12-06T00:01:32.301Z (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 over 2 years ago)
  • Last Synced: 2025-12-04T12:07:52.977Z (6 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 over 2 years ago)
  • Last Synced: 2025-12-03T14:35:24.333Z (7 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

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 over 3 years ago)
  • Last Synced: 2025-12-06T00:01:34.971Z (4 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-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 over 3 years ago)
  • Last Synced: 2025-12-02T10:52:55.348Z (8 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 8 months ago)
  • Last Synced: 2025-11-23T05:04:49.546Z (17 days 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 8 months ago)
  • Last Synced: 2025-11-23T05:04:52.493Z (17 days 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 over 3 years ago)
  • Last Synced: 2025-12-06T00:01:44.672Z (4 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 over 3 years ago)
  • Last Synced: 2025-12-03T11:54:54.521Z (7 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.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 over 2 years ago)
  • Last Synced: 2025-12-06T00:01:47.951Z (4 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 almost 2 years ago)
  • Last Synced: 2025-12-06T00:01:55.223Z (4 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 8 months ago)
  • Last Synced: 2025-12-06T00:01:59.815Z (4 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 over 2 years ago)
  • Last Synced: 2025-12-02T13:28:39.801Z (8 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 almost 2 years ago)
  • Last Synced: 2025-12-06T00:01:46.913Z (4 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 almost 2 years ago)
  • Last Synced: 2025-12-03T11:52:36.319Z (7 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 almost 2 years ago)
  • Last Synced: 2025-12-06T00:01:49.536Z (4 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 8 months ago)
  • Last Synced: 2025-12-06T00:01:50.536Z (4 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.380550147183556