pop3client v0.2.1
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
- Fork it (https://github.com/chrisblunt-codes/pop3client/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Chris Blunt - creator and maintainer
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