#### [Abblix\.SecurityEvents](https://www.abblix.com/en/docs/api/abblix-securityevents 'index')
### [Abblix\.SecurityEvents\.Subjects](https://www.abblix.com/en/docs/api/abblix-securityevents/Abblix.SecurityEvents.Subjects 'Abblix\.SecurityEvents\.Subjects')

## EmailSubject Class

Identifies a subject by an email address \(RFC 9493 Section 3\.2\.2\)\.

```csharp
public sealed class EmailSubject : Abblix.SecurityEvents.Subjects.SubjectIdentifier
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [SubjectIdentifier](https://www.abblix.com/en/docs/api/abblix-securityevents/Abblix.SecurityEvents.Subjects.SubjectIdentifier 'Abblix\.SecurityEvents\.Subjects\.SubjectIdentifier') → EmailSubject
### Constructors

## EmailSubject\(string\) Constructor {#Abblix.SecurityEvents.Subjects.EmailSubject.EmailSubject(string)}

Identifies a subject by an email address \(RFC 9493 Section 3\.2\.2\)\.

```csharp
public EmailSubject(string email);
```
#### Parameters

###### `email` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.SecurityEvents.Subjects.EmailSubject.EmailSubject(string).email}

The subject's email address, formatted as an "addr\-spec" \(RFC 5322 Section 3\.4\.1\) and
identifying a deliverable mailbox \(RFC 5321\)\. REQUIRED, and must be neither null nor empty\.
### Properties

## EmailSubject\.Email Property {#Abblix.SecurityEvents.Subjects.EmailSubject.Email}

The email address, as received\.

```csharp
public string Email { get; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

### Remarks
Deliberately not canonicalised\. RFC 9493 Section 3\.2\.2\.1 records that email
canonicalisation is not standardised and that a receiver cannot know the sending provider's
algorithm, so it puts the choice on the receiver: apply the algorithm your own mail system
uses\. Folding case here would silently answer that question on the receiver's behalf and
destroy the original\. [EmailCanonicalization](https://www.abblix.com/en/docs/api/abblix-securityevents/Abblix.SecurityEvents.Subjects.EmailCanonicalization 'Abblix\.SecurityEvents\.Subjects\.EmailCanonicalization') offers the one transformation the
specification does settle, to be applied when comparing rather than when storing\.
