Mail.dll
3.0.20174.2011
.NET Standard 2.0
.NET Framework 2.0
Additional Details
Please update to the latest version
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
Install-Package Mail.dll -Version 3.0.20174.2011
dotnet add package Mail.dll --version 3.0.20174.2011
<PackageReference Include="Mail.dll" Version="3.0.20174.2011" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mail.dll --version 3.0.20174.2011
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mail.dll, 3.0.20174.2011"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mail.dll as a Cake Addin
#addin nuget:?package=Mail.dll&version=3.0.20174.2011
// Install Mail.dll as a Cake Tool
#tool nuget:?package=Mail.dll&version=3.0.20174.2011
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
IMAP
using(Imap imap = new Imap())
{
imap.Connect("imap.server.com"); // or ConnectSSL for SSL/TLS
imap.UseBestLogin("user", "password");
imap.SelectInbox();
List<long> uids = imap.Search(Flag.Unseen);
foreach (long uid in uids)
{
var eml = imap.GetMessageByUID(uid);
IMail email = new MailBuilder().CreateFromEml(eml);
Console.WriteLine(email.Subject);
}
imap.Close();
}
POP3
using(Pop3 pop3 = new Pop3())
{
pop3.Connect("pop3.server.com"); // or ConnectSSL for SSL/TLS
pop3.UseBestLogin("user", "password");
List<string> uids = pop3.GetAll();
foreach (string uid in uids)
{
var eml = pop3.GetMessageByUID(uid);
IMail email = new MailBuilder().CreateFromEml(eml);
Console.WriteLine(email.Subject);
}
pop3.Close();
}
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 2.0
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.Pkcs (>= 4.5.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.Security.Cryptography.Xml (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Mail.dll:
Package | Downloads |
---|---|
OElite.Web
OElite Web API SDK for OElite Platform based application development |
|
Soneta.CRM
Składnik programu Soneta. Program obsługi firmy: kadry-płace, księgowość, handel, magazyn, CRM, BI ... |
|
MepApps.Svr.Ctl
Mep Apps Inc. Server Controls |
|
MepApps.Svr.Internal
Mep Apps Inc. Cloud Internals |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.22105.1207 | 1,550 | 4/15/2022 |
3.0.22035.1741 | 10,901 | 2/4/2022 |
3.0.21294.1630 | 54,583 | 10/21/2021 |
3.0.21267.1221 | 6,104 | 9/24/2021 |
3.0.21231.1234 | 29,388 | 8/19/2021 |
3.0.21189.1553 | 8,051 | 7/8/2021 |
3.0.21134.1059 | 21,313 | 5/14/2021 |
3.0.21008.1129 | 28,548 | 1/8/2021 |
3.0.20308.1141 | 17,093 | 11/3/2020 |