Mail.dll
3.0.21231.1234
.NET 5.0
.NET Standard 2.0
.NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Mail.dll --version 3.0.21231.1234
NuGet\Install-Package Mail.dll -Version 3.0.21231.1234
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mail.dll" Version="3.0.21231.1234" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mail.dll --version 3.0.21231.1234
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mail.dll, 3.0.21231.1234"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.21231.1234
// Install Mail.dll as a Cake Tool
#tool nuget:?package=Mail.dll&version=3.0.21231.1234
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481 |
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.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.Security.Cryptography.Xml (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.1)
-
net5.0
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.2)
- System.Security.Cryptography.Xml (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.1)
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.23025.1850 | 4,401 | 1/25/2023 |
3.0.23002.841 | 946 | 1/2/2023 |
3.0.22293.1001 | 40,193 | 10/20/2022 |
3.0.22269.1117 | 2,146 | 9/26/2022 |
3.0.22234.1038 | 33,138 | 8/22/2022 |
3.0.22105.1207 | 20,770 | 4/15/2022 |
3.0.22035.1741 | 23,846 | 2/4/2022 |
3.0.21294.1630 | 154,850 | 10/21/2021 |
3.0.21267.1221 | 10,328 | 9/24/2021 |
3.0.21231.1234 | 34,904 | 8/19/2021 |
3.0.21189.1553 | 10,963 | 7/8/2021 |
3.0.21134.1059 | 30,901 | 5/14/2021 |