TelemetrySmtpClient Class

The SmtpClient-level telemetry information.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public static class SmtpClient
Inheritance
Object    TelemetrySmtpClient

Remarks

The SmtpClient-level telemetry information.

  Note

This class is only available on .NET 8.0 and later.

Methods

Configure Configure SmtpClient telemetry.
Configure(IMeterFactory) Configure SmtpClient telemetry.

Fields

ActivitySourceName The name of the SmtpClient activity source used for tracing.
ActivitySourceVersion The version of the SmtpClient activity source used for tracing.
MeterName The name of the SmtpClient meter.
MeterVersion The version of the SmtpClient meter.

See Also

Reference