Rebex POP3

POP3, SMTP, MIME, S/MIME libraries for .NET

Download 30-day free trial Buy from $199
More .NET libraries

Back to feature list...

Compatibility

See also platforms and standards the mail library is compliant with.

XCOPY deployment 

When distributing an application using Rebex POP3 library, simply copy the following DLL files (.NET assemblies) with your application:

  • Rebex.Common.dll
  • Rebex.Networking.dll
  • Rebex.Mail.dll
  • Rebex.Smtp.dll
  • Rebex.Pop3.dll

There is no need to install, configure or distribute anything else to make them work.

Rebex POP3 license is royalty-free - you can distribute your application to unlimited number of users or computers without any additional fees.

Supported SMTP, POP3 servers 

Rebex POP3 library works with all standard-compliant SMTP, IMAP and POP3 servers.

Recommended and tested mail servers:

Also works with:

  • XMail
  • Yahoo mail server
  • Dovecot
  • Postfix
  • Courier mail server
  • All other standard-compliant SMTP, IMAP, POP3 servers

Fine-tuning client behavior 

The Smtp and Pop3 objects makes it possible to adjust various client settings and workarounds. Most of them are available through Settings property (see the next section for details).

Some settings are available at the Smtp and Pop3 objects themselves. This includes the Encoding property that specifies a charset to be used when encoding commands and decoding responses. However, since all of those should normally use ASCII, changing the default value is seldom needed.

// create client instance
// ...

// set encoding to UTF-8
client.Encoding = Encoding.UTF8;
' create client instance
' ...

' set encoding to UTF-8
client.Encoding = Encoding.UTF8

The common settings include a Timeout property as well. Use it to change the default timeout value of 60,000 milliseconds.

Workarounds for common server issues 

Workarounds for some server issues are not enabled by default because detecting them automatically would be troublesome. They can be changed through properties of Smtp.Settings and Pop3.Settings objects.

// create POP3 client instance
var client = new Pop3();

// ignore invalid message headers
client.Settings.IgnoreUnparsableHeaders = true;
' create POP3 client instance
Dim client = New Pop3()

' ignore invalid message headers
client.Settings.IgnoreUnparsableHeaders = True

List of common tweaks and workarounds:

Object Property Purpose
Imap
Pop3
IgnoreUnparsableHeaders Ignore unparsable headers when parsing mail message received from the POP3 or IMAP server.
Imap
Pop3
IgnoreUnparsableSignatures Ignore unparsable S/MIME signature entities when parsing mail message received from the POP3 or IMAP server.
Pop3 DisableGmailRetrieveWorkaround Disables workaround for non-standard behavior of POP3 Gmail's RETR command.
Pop3 DisableApopAuthentication Explicitly disables APOP authentication for those POP3 servers, which falsely advertises APOP support.
Smtp AllowNullSender Allows null sender (<>) to be specified in Smtp.Send call. Used when sending delivery status notifications.

Back to feature list...