About
Poppy is a small free .NET library for interacting with POP3 mail servers.
Features
- RFC 1939-compliant
- Optional POP3 commands support
- SSL support
- APOP authentication support
- Lightweight (~20KB)
- Thread-safe
- Custom POP3 transport support
Supported Commands
The library supports the following POP3 commands: STAT, LIST, UIDL, USER, PASS, APOP, RETR, TOP, DELE, NOOP, RSET, QUIT.
Tutorial
Quick Start
The following code example connects to the server, retrieves a list of messages and retrieves the first message from the server:
using (Pop3Client client = new Pop3Client( "pop.example.org", 110, false)) { client.Connect(); client.Login("login", "pass"); MessageInformation info = client.Messages.First(); string message = client.RetrieveMessage(info.MessageNumber); }
License
Copyright 2012 Pavel Perestoronin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Contact
For any questions or suggestions please contact me at poppy@eigenein.info.