Skip to content

Commit a1d85df

Browse files
Describe what happens to invalid email addresses in feedback (#14103)
Resolves getsentry/sentry-dotnet#4284 See: - getsentry/sentry-dotnet#4284 (comment)
1 parent cdb16bc commit a1d85df

File tree

1 file changed

+6
-0
lines changed
  • docs/platforms/dotnet/common/user-feedback

1 file changed

+6
-0
lines changed

docs/platforms/dotnet/common/user-feedback/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ var eventId = SentrySdk.CaptureMessage("An event that will receive user feedback
2424
SentrySdk.CaptureFeedback("It broke.", "[email protected]", "The User", associatedEventId: eventId);
2525
```
2626

27+
<Alert type="info">
28+
29+
Note that Sentry will reject and drop any feedback events where the email address is invalid. To avoid this, the Sentry SDK for .NET removes invalid email addresses before sending feedback. Ideally you should validate the email address before calling this API.
30+
31+
</Alert>
32+
2733
## Crash-Report Modal
2834

2935
Our embeddable, JavaScript-based, Crash-Report modal is useful when you would typically render a plain error page (the classic `500.html`) on your website.

0 commit comments

Comments
 (0)