Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(dev): Merge Rnwood.SmtpServer into same repo #1406

Merged
merged 282 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
20895ab
rnwood Sep 20, 2009
b96477c
Lots of 2.0a1 fixes
rnwood Sep 21, 2009
da8ff8a
Add hook on rcpt to verb
rnwood Sep 22, 2009
01297c0
More fixes and additions to server api
rnwood Sep 24, 2009
7a8bd3f
More 2.0 alpha 1 fixes
rnwood Sep 29, 2009
45d3826
Auto update framework
rnwood Sep 30, 2009
c380f6d
Improvements
rnwood Sep 30, 2009
22de0b5
rnwood Sep 30, 2009
b13c48d
Completed check for updates function
rnwood Oct 1, 2009
85b5090
Test
rnwood Dec 11, 2009
3337bf2
Test
rnwood Dec 11, 2009
c115db4
Improved auto-update functionality and set correct url for update file.
rnwood Dec 11, 2009
671a062
Final changes for 2.0 beta 1 release
rnwood Dec 14, 2009
3b46a46
Fix for bug #3576 and re-release
rnwood Dec 15, 2009
93341ef
Move common assy attributes into SolutionInfo.cs file
rnwood Dec 21, 2009
251059f
[Workitem #3702]
rnwood Jan 16, 2010
735188f
Fix errors in last commit - DOH!
rnwood Jan 16, 2010
331d79c
Bump version number
rnwood Jan 27, 2010
561f71f
More work on automated testing
rnwood Jan 27, 2010
ebaf503
More tests
rnwood Jan 28, 2010
1ee1b5d
Replace ilmerge with netz binary packer for standalone (single .exe f…
rnwood May 6, 2010
c594d17
Implement suggestions:
rnwood May 11, 2010
6a56749
Update SharpMimeTools to latest trunk build
rnwood May 11, 2010
e11697d
Add new release
rnwood May 11, 2010
00583ba
Tag 2.0 release
rnwood May 12, 2010
0286f2a
Checked in by server upgrade
Jul 19, 2010
bd840c7
Loads of fixes and improvements
rnwood Nov 15, 2010
930ba3b
*UNSTABLE* work in progress
rnwood Feb 2, 2011
b0d77e0
*UNSTABLE* work in progress
rnwood Mar 11, 2011
9db53aa
* UNSTABLE WORK IN PROGRESS *
rnwood May 6, 2011
150381e
More test coverage and re factoring for tests
rnwood May 10, 2011
00cf352
rnwood Jul 22, 2011
094de59
rnwood Jul 22, 2011
f5882b3
2.0.6 Fixes
rnwood Jul 22, 2011
b10c91b
bump version
rnwood Jul 22, 2011
fbdb44a
Push out 2.0.7
rnwood Jul 25, 2011
664f0dd
2.0.7 and 2.0.8 bug fixes.
rnwood Aug 2, 2011
16043ba
Push out 2.0.8.
rnwood Aug 2, 2011
f3de86e
Listen only on loopback interface by default.
rnwood Aug 6, 2011
0fee721
Fix for issue #7048
rnwood Aug 11, 2011
8b4caf7
Push out 2.0.9 for autoupdate.
rnwood Aug 11, 2011
3e73bf1
Work in progress on 2.1.1
rnwood Aug 17, 2011
374c922
rnwood Aug 17, 2011
be5a62f
Checked in by server upgrade
Oct 1, 2012
7c1388d
Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your buil…
Oct 1, 2012
b7edbce
Upgrade to VS 2012. Migrate from MBUnit to MSTest. Beginnings of maki…
rnwood Dec 23, 2013
ddad31e
Create README.md
rnwood Dec 13, 2015
3cb9589
Update README.md
rnwood Dec 13, 2015
e5df15e
Restructure for git
rnwood Dec 13, 2015
a32f1db
Bin off the UI.
rnwood Dec 13, 2015
07aa685
Delete old projects and stuff.
rnwood Dec 13, 2015
c5a9b15
Fix failing tests.
rnwood Dec 13, 2015
8bc5159
Add basic 7 bit truncation test.
rnwood Dec 14, 2015
686173d
Update README.md
rnwood Dec 14, 2015
591a4c9
Tidy up
rnwood Dec 14, 2015
1fa2656
Add base class for auth tests.
rnwood Dec 14, 2015
8347ed4
Nuspec.
rnwood Dec 14, 2015
8d49263
Split responsibility for parsing of arguments from command. Fixes #4.
rnwood Dec 14, 2015
0965b1a
Ensure multi line responses are formatted correctly. Closes #5
rnwood Dec 14, 2015
b41dbdd
Return a SMTP error if cert not found. Resolves #2.
rnwood Dec 14, 2015
d911fc8
Project for new UI with dependencies.
rnwood Dec 15, 2015
4a734fa
Add untracked files.
rnwood Dec 15, 2015
0158c9c
Shell for UI hosting the server. Self hosting MVC6 on dnx461.
rnwood Dec 17, 2015
84c15f1
Shell for UI hosting the server. Self hosting MVC6 on dnx451.
rnwood Dec 17, 2015
34aafc5
Merge branch 'master' of https://github.com/rnwood/smtp4dev
rnwood Dec 17, 2015
8e92fea
Fix build of examples.
rnwood Dec 17, 2015
0ab9a30
Update and rename LICENSE.txt to LICENSE.md
rnwood Dec 19, 2015
86646a3
Prototype UI. Working auto refreshed message list.
rnwood Dec 19, 2015
18ec44e
Create Appveyor.yml
rnwood Dec 19, 2015
96e1f6f
Rename Appveyor.yml to appveyor.yml
rnwood Dec 19, 2015
65d430f
Update appveyor.yml
rnwood Dec 19, 2015
045d334
Update appveyor.yml
rnwood Dec 19, 2015
72bb67d
Update appveyor.yml
rnwood Dec 19, 2015
f57a068
Update appveyor.yml
rnwood Dec 19, 2015
3c4f4f1
Update appveyor.yml
rnwood Dec 19, 2015
8c54f56
Update appveyor.yml
rnwood Dec 19, 2015
419bd78
Update appveyor.yml
rnwood Dec 19, 2015
699a9bb
Update appveyor.yml
rnwood Dec 19, 2015
211302e
Update appveyor.yml
rnwood Dec 19, 2015
f0cac88
Update appveyor.yml
rnwood Dec 19, 2015
0a944df
Update appveyor.yml
rnwood Dec 19, 2015
5665834
Refactor of IEditableMessage to IMessageBuilder.
rnwood Dec 22, 2015
949787b
Merge branch 'master' of https://github.com/rnwood/smtp4dev.git
rnwood Dec 22, 2015
2b94170
Persistence of messages across restarts (NDatabase)
rnwood Dec 22, 2015
04369e2
RequireJS and ko component for message list.
rnwood Dec 22, 2015
7649cdf
Add delete all/message function and API.
rnwood Dec 24, 2015
c09b98d
Transition to SPA.
rnwood Jan 16, 2016
4e10a8a
Migrate server library to netstandard to make portable.
rnwood Oct 14, 2016
a16fb8e
New commands for dotnet.exe build.
rnwood Oct 14, 2016
20f7e8a
Revise publish command for dotnet command.
rnwood Oct 14, 2016
637f0e3
Build change
rnwood Oct 14, 2016
9a71c9a
Attempt to set up tests for dotnet command
rnwood Oct 14, 2016
04129e3
Try package using appveyor built in zip and add version number to fil…
rnwood Oct 14, 2016
0454105
Fix package error
rnwood Oct 14, 2016
82c044d
Builds for all platforms.
rnwood Oct 14, 2016
6480c03
Try build nuget package
rnwood Oct 14, 2016
75fd410
Fix bad yml
rnwood Oct 14, 2016
71860cf
More YAML fixing!
rnwood Oct 14, 2016
b389434
Correct filename
rnwood Oct 14, 2016
6d62df8
Fix version
rnwood Oct 14, 2016
0773fc8
Fix version
rnwood Oct 14, 2016
64402ec
Package the right project
rnwood Oct 14, 2016
38ef527
Fix race condition in test.
rnwood Oct 14, 2016
f340167
Use async IO and make API async where I/O will normally occur.
rnwood Oct 15, 2016
9931e80
Build Windows binaries using net461 to allow running as service in fu…
rnwood Oct 15, 2016
654f1f3
Add files missing.
rnwood Oct 15, 2016
d2f29d0
Resolve warnings.
rnwood Oct 16, 2016
6f910e4
Fix failing tests.
rnwood Oct 16, 2016
203dea4
Avoid race during connection termination tests.
rnwood Oct 16, 2016
a00d025
Remove DNX stuff.
rnwood Oct 16, 2016
3beff50
Correct package metdata.
rnwood Oct 16, 2016
6549f97
Deploy target for github releases.
rnwood Oct 16, 2016
be76886
Deploy on every build.
rnwood Oct 16, 2016
d503610
Deploy on every build - another attempt
rnwood Oct 16, 2016
c54ad2c
Cache packages to speed up build.
rnwood Oct 16, 2016
cadec04
Timeouts to prevent hang on fail in some tests
rnwood Oct 19, 2016
f9329f4
Build fix
rnwood Oct 19, 2016
42ae447
Build fix.
rnwood Oct 19, 2016
e971ec0
Get MVC working again.
rnwood Oct 19, 2016
52ec40c
Remove missing project
rnwood Oct 19, 2016
f14ab79
Attempt to use build matrix for platform/framework.
rnwood Oct 20, 2016
d66cd19
Fix artifacts
rnwood Oct 20, 2016
246630b
Correct artifacts
rnwood Oct 20, 2016
48d1ad5
Another attempt to push correct artifacts
rnwood Oct 20, 2016
6b8fb5b
I hate YAML
rnwood Oct 20, 2016
6ae3e41
Run tests on correct framework
rnwood Oct 20, 2016
a0665a5
Ensure tests support net461.
rnwood Oct 20, 2016
ca83f5e
Improved tests.
rnwood Oct 25, 2016
952ba03
Fix bower install
rnwood Oct 25, 2016
d7a9c6c
X
rnwood Oct 25, 2016
632a088
Put the UI out of it's misery - will be rethought.
rnwood Nov 11, 2017
6f8ed63
Upgrade appveyor build image to VS2017
rnwood Nov 11, 2017
b6ff11b
Downgrade to net462 as appveyor does not yet support net47x
rnwood Nov 11, 2017
f00762e
Fix dotnet test execution errors
rnwood Nov 11, 2017
d35007c
Fix wrong response for LOGIN where username was in initial command da…
rnwood Nov 11, 2017
9da3e86
Move server component into it's own repo.
rnwood Nov 11, 2017
dd54b34
Don't produce two sets of artifacts.
rnwood Nov 11, 2017
dea67aa
Resolve all xunit warnings.
rnwood Nov 11, 2017
aa31993
Bump Moq from 4.7.145 to 4.10.0
dependabot-support Oct 22, 2018
2d5ec7b
Bump NETStandard.Library from 2.0.1 to 2.0.3
dependabot-support Oct 23, 2018
89ab5c0
Merge pull request #5 from rnwood/dependabot/nuget/Moq-4.10.0
rnwood Oct 23, 2018
a299eac
Merge pull request #7 from rnwood/dependabot/nuget/NETStandard.Librar…
rnwood Oct 23, 2018
07da75a
Bump MailKit from 1.20.0 to 2.0.6
dependabot-support Oct 23, 2018
b66fb02
Bump xunit from 2.3.1 to 2.4.0
dependabot-support Oct 23, 2018
19bcec0
Bump Microsoft.NET.Test.Sdk from 15.5.0 to 15.9.0
dependabot-support Oct 23, 2018
0cc1452
Improve CI process.
rnwood Oct 24, 2018
bcdea77
Merge pull request #4 from rnwood/dependabot/nuget/MailKit-2.0.6
rnwood Oct 24, 2018
ed28ba3
Merge pull request #1 from rnwood/dependabot/nuget/xunit-2.4.0
rnwood Oct 24, 2018
061f547
Merge pull request #3 from rnwood/dependabot/nuget/Microsoft.NET.Test…
rnwood Oct 24, 2018
ee6fa8b
Bump Microsoft.Extensions.Logging from 2.0.0 to 2.1.1 (#2)
dependabot[bot] Oct 24, 2018
470616b
Bump xunit.runner.visualstudio from 2.3.1 to 2.4.0 (#6)
dependabot[bot] Oct 24, 2018
72fc840
Align the nuget package version number with appveyor and tags.
rnwood Oct 24, 2018
38b713c
Allow release build to be created by manual label
rnwood Oct 24, 2018
cfb8dc6
Try to re-use label.
rnwood Oct 25, 2018
a04e29e
More attempts to get both CI and label triggered build/deploy working…
rnwood Oct 25, 2018
701cbf8
More attempts to get both CI and label triggered build/deploy working…
rnwood Oct 25, 2018
c37bad9
Massive cleanup to align with MS code analysis and stylecop defaults.…
rnwood Nov 6, 2018
71eb1cc
Bump MailKit from 2.0.6 to 2.0.7 (#11)
dependabot[bot] Nov 6, 2018
e65f66e
Bump xunit from 2.4.0 to 2.4.1 (#10)
dependabot[bot] Nov 6, 2018
516e550
Bump xunit.runner.visualstudio from 2.4.0 to 2.4.1 (#9)
dependabot[bot] Nov 6, 2018
4a2ba20
CI - Attempt to build and test on both net461 and netcoreapp2.0
rnwood Nov 22, 2018
016e82c
Skip the default appveyor build command
rnwood Nov 24, 2018
b37d84d
Only use appveyor framework matrix when running tests.
rnwood Nov 24, 2018
a7a6e43
Fix line endings on non-Windows platform.
rnwood Nov 24, 2018
9d395d1
Fix some more incorrect line endings on non-Windows platform.
rnwood Nov 24, 2018
a5493c6
Fix more test failures on Linux.
rnwood Nov 25, 2018
7ed3579
Skip testing unsupported port in use feature on non-Windows.
rnwood Mar 8, 2019
c9e3b9c
Ensure artifact collection doesn't error on Ubuntu build.
rnwood Mar 8, 2019
16b9f9a
Attempt to delete the skipped github label builds to tidy up the hist…
rnwood Mar 8, 2019
a17a4cf
Fix
rnwood Mar 8, 2019
8d7999f
Ensure API key value is included.
rnwood Mar 8, 2019
ff324c1
Ensure API key value is included.
rnwood Mar 8, 2019
a257c05
Ensure API key value is included.
rnwood Mar 8, 2019
85b77ad
Appveyor build fixes.
rnwood Mar 8, 2019
db10060
Upgrade all deps.
rnwood Mar 8, 2019
fb1b8a8
Use build version as file version.
rnwood Mar 8, 2019
392cd1c
Ensure handlers are awaited rather than just fired and forgotten. e.g…
rnwood Mar 10, 2019
204c152
Implement SMTPUTF8 extension.
rnwood Mar 18, 2019
2f8054f
Test to show SmtpClient SMTPUTF8 works.
rnwood Mar 19, 2019
0967caf
Produce symbols+source packages too for debugging consumers.
rnwood Mar 19, 2019
5c57c41
Experimental(+slow?) UTF8 to ANSI string decoding fallback to cope wi…
rnwood Mar 22, 2019
35ac50d
Appveyor - Remove duplicate build triggered by Github release tag.
rnwood Mar 22, 2019
75a0e77
Fix appveyor build.
rnwood Mar 22, 2019
90c0d62
Allow decoding fallback during DATA transmission too.
rnwood Mar 23, 2019
921e8af
Default the fallback encoding to iso-8859-1. Encoding.Default returns…
rnwood Mar 23, 2019
c750388
Update all dependencies.
rnwood May 4, 2019
186798d
Fix all warnings from the update dependencies.
rnwood May 4, 2019
282b48a
Ensure the core server thread has actually finished before Stop() ret…
rnwood May 4, 2019
2b2e960
Bump MailKit from 2.1.4 to 2.2.0 (#38)
dependabot-preview[bot] Jun 19, 2019
ecf92c7
Bump Microsoft.NET.Test.Sdk from 16.0.1 to 16.1.1 (#36)
dependabot-preview[bot] Jun 19, 2019
2cb9053
Bump Moq from 4.10.1 to 4.11.0 (#35)
dependabot-preview[bot] Jun 19, 2019
52f4876
Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 2.9.2 to 2.9.3 (#37)
dependabot-preview[bot] Jun 19, 2019
ef335af
Bump Microsoft.CodeAnalysis.CSharp from 3.0.0 to 3.1.0 (#34)
dependabot-preview[bot] Jun 19, 2019
4ed14b8
Fix Github URLs that go into nuget package.
rnwood Jun 20, 2019
897fe80
Update nuget API key
rnwood Nov 4, 2019
5cdd63c
Correct default server implementation so it can allow STARTTLS.
rnwood Feb 20, 2020
421834e
Correct default server implementation so it can allow STARTTLS - exte…
rnwood Feb 21, 2020
2f05b70
Publish snuget symbols to nuget gallery.
rnwood Feb 24, 2020
20cc9ba
Correct the mechanism Ids returned in EHLO AUTH response. Fixes #67.
rnwood Mar 21, 2020
2306def
Bump Microsoft.CodeAnalysis.CSharp from 3.1.0 to 3.5.0 (#77)
dependabot-preview[bot] Mar 21, 2020
323220c
Bump MailKit from 2.2.0 to 2.5.2 (#76)
dependabot-preview[bot] Mar 21, 2020
f57bf91
Bump Microsoft.Extensions.Logging.Abstractions from 2.2.0 to 3.1.2 (#74)
dependabot-preview[bot] Mar 21, 2020
f5fcef2
Allow EHLO after STARTTLS and fix false positive test.
rnwood Mar 22, 2020
0c1488e
Enable AUTH in DefaultServer.
rnwood Mar 22, 2020
6081364
Reset writer after STARTTLS.
rnwood Mar 22, 2020
f74ea07
When running on .NET Core, let the OS pick the SSL/TLS version. Other…
rnwood Apr 19, 2020
b4f0906
Force TLS1.2 in the client in tests.
rnwood Apr 19, 2020
7a09832
Update Github API key for CI releases.
rnwood Jul 2, 2020
ccaf31e
Update linux build image.
rnwood Jul 2, 2020
1726062
Fix test execution on Linux.
rnwood Jul 3, 2020
54d9057
Allow hostname in greeting to be overridden in DefaultServer[Behaviour].
rnwood Sep 17, 2020
88559b4
Update nuget API key for CI.
rnwood Oct 28, 2020
7abfb83
Fix race condition during dispose (#127)
matt-richardson Dec 11, 2020
3a8afae
Fix SocketException from AcceptTcpClientAsync during Dispose (#130)
johnsimons Jan 7, 2021
0cd8a45
Upgrade to GitHub-native Dependabot (#139)
dependabot-preview[bot] Oct 23, 2022
a86d4ea
Add license scan report and status (#113)
fossabot Oct 23, 2022
578ffd8
feat (CustomAuth): Provide ability to set a list of Auth mechanisms w…
jafin Oct 23, 2022
d33ade1
chore(CI): Re-instate automation of minor version upgrades
rnwood Oct 23, 2022
33c28a1
Bump Moq from 4.11.0 to 4.18.2 (#153)
dependabot[bot] Oct 23, 2022
dd82e67
Bump xunit.runner.visualstudio from 2.4.1 to 2.4.5 (#150)
dependabot[bot] Oct 23, 2022
a765c79
Bump Xunit.SkippableFact from 1.3.12 to 1.4.13 (#98)
dependabot-preview[bot] Oct 23, 2022
f41f668
Bump xunit from 2.4.1 to 2.4.2
dependabot[bot] Oct 23, 2022
7ef5e32
Merge pull request #151 from rnwood/dependabot/nuget/xunit-2.4.2
github-actions[bot] Oct 23, 2022
5474722
Bump Microsoft.CodeAnalysis.CSharp from 3.5.0 to 3.10.0 (#142)
dependabot-preview[bot] Oct 23, 2022
5e0368b
Bump Moq from 4.18.2 to 4.18.3
dependabot[bot] Dec 5, 2022
23698e2
Merge pull request #162 from rnwood/dependabot/nuget/Moq-4.18.3
github-actions[bot] Dec 5, 2022
ccf7260
Bump Moq from 4.18.3 to 4.18.4
dependabot[bot] Jan 2, 2023
34e3e99
Merge pull request #164 from rnwood/dependabot/nuget/Moq-4.18.4
github-actions[bot] Jan 2, 2023
2a07568
Fix: bug #172 - Incorrect encoding conversion of just send 8 messages…
rnwood Mar 7, 2024
bfd9b0e
Fix: Update CI publish secrets
rnwood Mar 7, 2024
36d179a
fix(CI): Switch to run test on .net 6 which is avail on Appveyor agents.
rnwood Mar 7, 2024
0924fa2
Configure Renovate (#174)
renovate[bot] Mar 7, 2024
4574c31
chore(deps): update dependency netstandard.library to v2.0.3 (#178)
renovate[bot] Mar 8, 2024
e527d26
chore(deps): update dependency fluentassertions to v6.12.0 (#179)
renovate[bot] Mar 8, 2024
9d9cd1b
chore(deps): update dependency microsoft.codeanalysis.csharp to v3.11…
renovate[bot] Mar 8, 2024
4d59cf0
chore(deps): update dependency microsoft.extensions.logging.abstracti…
renovate[bot] Mar 8, 2024
baff4ca
chore(deps): update dependency moq to v4.20.70 (#183)
renovate[bot] Mar 8, 2024
95ee8f3
chore(deps): update dependency microsoft.codeanalysis.fxcopanalyzers …
renovate[bot] Mar 8, 2024
be856f2
chore(deps): update dependency microsoft.net.test.sdk to v16.11.0 (#182)
renovate[bot] Mar 8, 2024
7931e26
Fix: Fix message content missing from session log.
rnwood Mar 9, 2024
768471a
Fix: Incomplete commit.
rnwood Mar 9, 2024
fe0aac2
feature(DefaultServer): Expose more events. (#190)
rnwood Mar 14, 2024
6bfc4f6
Chores/tidyup (#191)
rnwood Mar 16, 2024
0b31c15
chore(deps): update xunit-dotnet monorepo (#184)
renovate[bot] Mar 20, 2024
ef25de1
chore(deps): update dependency microsoft.codeanalysis.csharp to v4 (#…
renovate[bot] Mar 20, 2024
400cace
chore(deps): update dependency microsoft.net.test.sdk to v17 (#188)
renovate[bot] Mar 20, 2024
5b313f1
fix(core): If size limit or behaviour throws in OnMessageCompleted, a…
rnwood Apr 13, 2024
75f56d0
Chore(CI): Update Appveyor Github API key
rnwood Apr 13, 2024
85b44f3
Chore(dev): Merge Rnwood.SmtpServer back into same repo - with history
rnwood Apr 19, 2024
c98ee39
chore(dev): Merge Rnwood.SmtpServer back into same repo.
rnwood Apr 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Rnwood.Smtp4dev/Rnwood.Smtp4dev.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
<PackageReference Include="NSwag.AspNetCore" Version="14.0.7" />
<PackageReference Include="Rnwood.LumiSoft.Net" Version="1.0.0" />
<PackageReference Include="Rnwood.SmtpServer" Version="3.1.0-ci0868" />


<PackageReference Include="Serilog" Version="3.1.1" />
Expand Down Expand Up @@ -178,6 +177,10 @@
<None Remove="ClientApp\src\ApiClient\ServerRelayOptions.ts" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\smtpserver\Rnwood.SmtpServer\Rnwood.SmtpServer.csproj" />
</ItemGroup>

<ItemGroup>
<TypeScriptCompile Include="ClientApp\src\ApiClient\MessageRelayOptions.ts" />
<TypeScriptCompile Include="ClientApp\src\ApiClient\Server.ts" />
Expand Down
18 changes: 18 additions & 0 deletions smtp4dev.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rnwood.Smtp4dev.Desktop", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rnwood.Smtp4dev.Desktop.Tests", "Rnwood.Smtp4dev.Desktop.Tests\Rnwood.Smtp4dev.Desktop.Tests.csproj", "{44686E8D-112A-4506-BD48-432E99D2D0DC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "smtpserver", "smtpserver", "{C875E342-CCB7-4983-8017-7E06514635B2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rnwood.SmtpServer", "smtpserver\Rnwood.SmtpServer\Rnwood.SmtpServer.csproj", "{0855B45D-AA9E-4683-AE6C-7057282D4E6B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rnwood.SmtpServer.Tests", "smtpserver\Rnwood.SmtpServer.Tests\Rnwood.SmtpServer.Tests.csproj", "{BBABDD2E-7A9B-4406-BE15-B4EEE2FF037E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -38,10 +44,22 @@ Global
{44686E8D-112A-4506-BD48-432E99D2D0DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44686E8D-112A-4506-BD48-432E99D2D0DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44686E8D-112A-4506-BD48-432E99D2D0DC}.Release|Any CPU.Build.0 = Release|Any CPU
{0855B45D-AA9E-4683-AE6C-7057282D4E6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0855B45D-AA9E-4683-AE6C-7057282D4E6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0855B45D-AA9E-4683-AE6C-7057282D4E6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0855B45D-AA9E-4683-AE6C-7057282D4E6B}.Release|Any CPU.Build.0 = Release|Any CPU
{BBABDD2E-7A9B-4406-BE15-B4EEE2FF037E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BBABDD2E-7A9B-4406-BE15-B4EEE2FF037E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BBABDD2E-7A9B-4406-BE15-B4EEE2FF037E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BBABDD2E-7A9B-4406-BE15-B4EEE2FF037E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0855B45D-AA9E-4683-AE6C-7057282D4E6B} = {C875E342-CCB7-4983-8017-7E06514635B2}
{BBABDD2E-7A9B-4406-BE15-B4EEE2FF037E} = {C875E342-CCB7-4983-8017-7E06514635B2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {533B7CBF-9EBE-4336-A215-A95484DD03FF}
EndGlobalSection
Expand Down
193 changes: 193 additions & 0 deletions smtpserver/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# editorconfig.org

# top-most EditorConfig file
root = true

# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[project.json]
indent_size = 2

# Generated code
[*{_AssemblyInfo.cs,.notsupported.cs}]
generated_code = true

# C# files
[*.cs]
# New line preferences
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

# Indentation preferences
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = true
csharp_indent_switch_labels = true
csharp_indent_labels = one_less_than_current

# Modifier preferences
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async:suggestion

# avoid this. unless absolutely necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion

# Types: use keywords instead of BCL types, and permit var only when the type is clear
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = false:none
csharp_style_var_elsewhere = false:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

# name all constant fields using PascalCase
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.required_modifiers = const
dotnet_naming_style.pascal_case_style.capitalization = pascal_case

# static fields should have s_ prefix
dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion
dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields
dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style
dotnet_naming_symbols.static_fields.applicable_kinds = field
dotnet_naming_symbols.static_fields.required_modifiers = static
dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected
dotnet_naming_style.static_prefix_style.required_prefix = s_
dotnet_naming_style.static_prefix_style.capitalization = camel_case

# internal and private fields should be _camelCase
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case

# Code style defaults
csharp_using_directive_placement = outside_namespace:suggestion
dotnet_sort_system_directives_first = true
csharp_prefer_braces = true:silent
csharp_preserve_single_line_blocks = true:none
csharp_preserve_single_line_statements = false:none
csharp_prefer_static_local_function = true:suggestion
csharp_prefer_simple_using_statement = false:none
csharp_style_prefer_switch_expression = true:suggestion
dotnet_style_readonly_field = true:suggestion

# Expression-level preferences
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_auto_properties = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
csharp_prefer_simple_default_expression = true:suggestion

# Expression-bodied members
csharp_style_expression_bodied_methods = true:silent
csharp_style_expression_bodied_constructors = true:silent
csharp_style_expression_bodied_operators = true:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = true:silent

# Pattern matching
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion

# Null checking preferences
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

# Other features
csharp_style_prefer_index_operator = false:none
csharp_style_prefer_range_operator = false:none
csharp_style_pattern_local_over_anonymous_function = false:none

# Space preferences
csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = do_not_ignore
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false

# License header
file_header_template = Licensed to the.NET Foundation under one or more agreements.\nThe.NET Foundation licenses this file to you under the MIT license.

# C++ Files
[*.{cpp,h,in}]
curly_bracket_next_line = true
indent_brace_style = Allman

# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
indent_size = 2

[*.{csproj,vbproj,proj,nativeproj,locproj}]
charset = utf-8

# Xml build files
[*.builds]
indent_size = 2

# Xml files
[*.{xml,stylecop,resx,ruleset}]
indent_size = 2

# Xml config files
[*.{props,targets,config,nuspec}]
indent_size = 2

# YAML config files
[*.{yml,yaml}]
indent_size = 2

# Shell scripts
[*.sh]
end_of_line = lf

[*.{cmd,bat}]
end_of_line = crlf
9 changes: 9 additions & 0 deletions smtpserver/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.vs
obj
bin
*.ncrunch*
packages
_ncrunch_*
*.user
/Rnwood.Smtp4dev/node_modules
.idea
25 changes: 25 additions & 0 deletions smtpserver/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Rnwood.SmtpServer.Tests/bin/Debug/netcoreapp2.0/Rnwood.SmtpServer.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/Rnwood.SmtpServer.Tests",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
3 changes: 3 additions & 0 deletions smtpserver/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet-test-explorer.testProjectPath": "**/*Tests.@(csproj|vbproj|fsproj)"
}
44 changes: 44 additions & 0 deletions smtpserver/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/Rnwood.SmtpServer.Tests/Rnwood.SmtpServer.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/Rnwood.SmtpServer.Tests/Rnwood.SmtpServer.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"-f",
"netcoreapp2.0",
"${workspaceFolder}/Rnwood.SmtpServer.Tests/Rnwood.SmtpServer.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}
18 changes: 18 additions & 0 deletions smtpserver/CodeMaid.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SteveCadwallader.CodeMaid.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
</configSections>
<userSettings>
<SteveCadwallader.CodeMaid.Properties.Settings>
<setting name="Reorganizing_RegionsRemoveExistingRegions" serializeAs="String">
<value>True</value>
</setting>
<setting name="Reorganizing_RunAtStartOfCleanup" serializeAs="String">
<value>True</value>
</setting>
</SteveCadwallader.CodeMaid.Properties.Settings>
</userSettings>
</configuration>
27 changes: 27 additions & 0 deletions smtpserver/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2009-2018, Rnwood.SmtpServer project contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of smtp4dev nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10 changes: 10 additions & 0 deletions smtpserver/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Rnwood.SmtpServer

A .NET SMTP server component, as used by Smtp4dev.

[![Build status](https://ci.appveyor.com/api/projects/status/tay9sajnfh4vy2x0/branch/master?svg=true)](https://ci.appveyor.com/project/rnwood/smtpserver/branch/master)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frnwood%2Fsmtpserver.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Frnwood%2Fsmtpserver?ref=badge_shield)


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frnwood%2Fsmtpserver.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Frnwood%2Fsmtpserver?ref=badge_large)
Loading