Class MailSendResult
- Namespace
- NuvTools.Notification.Mail
- Assembly
- NuvTools.Notification.Mail.dll
Represents the outcome of a send request accepted by the mail provider.
public sealed record MailSendResult : IEquatable<MailSendResult>
- Inheritance
-
MailSendResult
- Implements
- Inherited Members
Remarks
A result means the request was accepted by the provider, not that the email was delivered.
Constructors
MailSendResult(string?, string?)
Represents the outcome of a send request accepted by the mail provider.
public MailSendResult(string? Reference, string? TrackingLocation = null)
Parameters
ReferencestringThe provider reference of the send request, such as the message identifier assigned by an SMTP server or the operation identifier returned by an HTTP based provider.
TrackingLocationstringThe optional absolute URL that can be queried to track the delivery status, when the provider exposes one.
Remarks
A result means the request was accepted by the provider, not that the email was delivered.
Properties
Reference
The provider reference of the send request, such as the message identifier assigned by an SMTP server or the operation identifier returned by an HTTP based provider.
public string? Reference { get; init; }
Property Value
TrackingLocation
The optional absolute URL that can be queried to track the delivery status, when the provider exposes one.
public string? TrackingLocation { get; init; }