pop3client v0.2.1

A tiny POP3 client for Crystal

pop3client

A tiny POP3 client for Crystal.

Installation

Add this to your shard.yml:

dependencies:
  pop3client:
    github: chrisblunt-codes/pop3client

Usage

require "pop3client"

client = POP3::Client.new("mail.example.com", 110)
client.connect
client.login("user", "pass")
stat = client.stat
if stat[:count] > 0
  list = client.list
  list.each { |line| puts line }
  msg = client.retr(1)
  puts msg
end
client.quit

Roadmap

  • Connect and QUIT
  • USER / PASS login
  • STAT
  • LIST
  • UIDL
  • RETR
  • TOP
  • DELE
  • RSET
  • TLS (STLS / direct)

Contributing

  1. Fork it (https://github.com/chrisblunt-codes/pop3client/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

License

Copyright 2025 Chris Blunt Licensed under the Apache License, Version 2.0 SPDX-License-Identifier: Apache-2.0

Repository

pop3client

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 0
  • 4 days ago
  • September 4, 2025
License

Apache License 2.0

Links
Synced at

Tue, 09 Sep 2025 11:55:23 GMT

Languages