Skip to content

Commit b3e97ea

Browse files
committed
Merge branch 'release/7.6.1'
2 parents f744184 + 633ba29 commit b3e97ea

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

ReleaseNotes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release Notes
22

3-
## Papercut SMTP v7.6.0 [2025-11-08]
3+
## Papercut SMTP v7.6.1 [2025-11-08]
44

55
### New Features
66

ReleaseNotesCurrent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release Notes
22

3-
## Papercut SMTP v7.6.0 [2025-11-08]
3+
## Papercut SMTP v7.6.1 [2025-11-08]
44

55
### New Features
66

installation/winget/ChangemakerStudios.PapercutSMTP.installer.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PackageIdentifier: "ChangemakerStudios.PapercutSMTP"
2-
PackageVersion: "7.6.0"
2+
PackageVersion: "7.6.1"
33
Platform:
44
- "Windows.Desktop"
55
MinimumOSVersion: "10.0.17763.0"
@@ -13,13 +13,13 @@ InstallerSwitches:
1313
UpgradeBehavior: "install"
1414
Installers:
1515
- Architecture: "x64"
16-
InstallerUrl: "https://github.com/ChangemakerStudios/Papercut-SMTP/releases/download/7.6.0/PapercutSMTP-win-x64-stable-Setup.exe"
16+
InstallerUrl: "https://github.com/ChangemakerStudios/Papercut-SMTP/releases/download/7.6.1/PapercutSMTP-win-x64-stable-Setup.exe"
1717
InstallerSha256: "<SHA256_HASH_x64>"
1818
- Architecture: "x86"
19-
InstallerUrl: "https://github.com/ChangemakerStudios/Papercut-SMTP/releases/download/7.6.0/PapercutSMTP-win-x86-stable-Setup.exe"
19+
InstallerUrl: "https://github.com/ChangemakerStudios/Papercut-SMTP/releases/download/7.6.1/PapercutSMTP-win-x86-stable-Setup.exe"
2020
InstallerSha256: "<SHA256_HASH_x86>"
2121
- Architecture: "arm64"
22-
InstallerUrl: "https://github.com/ChangemakerStudios/Papercut-SMTP/releases/download/7.6.0/PapercutSMTP-win-arm64-stable-Setup.exe"
22+
InstallerUrl: "https://github.com/ChangemakerStudios/Papercut-SMTP/releases/download/7.6.1/PapercutSMTP-win-arm64-stable-Setup.exe"
2323
InstallerSha256: "<SHA256_HASH_arm64>"
2424
ManifestType: "installer"
2525
ManifestVersion: "1.6.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PackageIdentifier: "ChangemakerStudios.PapercutSMTP"
2-
PackageVersion: "7.6.0"
2+
PackageVersion: "7.6.1"
33
DefaultLocale: "en-US"
44
ManifestType: "version"
55
ManifestVersion: "1.6.0"

src/Papercut.Core/Domain/Network/EndpointDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private IPAddress ParseIpAddress(string value)
8585
normalizedFindValue = findValue.Replace(" ", "").Replace(":", "").ToUpperInvariant();
8686
}
8787

88-
using var certificates = store.Certificates.Find(findType, normalizedFindValue, validOnly: false);
88+
var certificates = store.Certificates.Find(findType, normalizedFindValue, validOnly: false);
8989

9090
if (certificates.Count == 0)
9191
{

src/Papercut.Infrastructure.Smtp/SessionContextExtensions.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ public static IPAddress GetRemoteIpAddress(this ISessionContext context)
3636
{
3737
ArgumentNullException.ThrowIfNull(context, nameof(context));
3838

39-
if (context.RemoteEndPoint is IPEndPoint remoteEndPoint)
40-
{
41-
return remoteEndPoint.Address;
42-
}
43-
44-
return IPAddress.None;
39+
// RemoteEndPoint is stored in the Properties dictionary by SmtpServer
40+
return context.Properties.TryGetValue("EndpointListener:RemoteEndPoint", out var endpoint)
41+
&& endpoint is IPEndPoint remoteEndPoint
42+
? remoteEndPoint.Address
43+
: IPAddress.None;
4544
}
4645
}

0 commit comments

Comments
 (0)