ProjectExtensions (Mail)

static class · namespace z3n7 · source Mail/FirstMail.cs

public static class ProjectExtensions

Other parts of this type: ProjectExtensions (Accounts), ProjectExtensions (Browser), ProjectExtensions (Diagnostic), ProjectExtensions (Essentials), ProjectExtensions (MethodExtensions), ProjectExtensions (Reports), ProjectExtensions (Requests), ProjectExtensions (Traffic)

Extension methods on IZennoPosterProjectModel: one-time codes from mail.

Methods

OtpCode

public static string OtpCode(this IZennoPosterProjectModel project, string source)

Extension method for IZennoPosterProjectModel. source

One-time code from a source: for an address (contains @), the code from its latest FirstMail message; otherwise source is a TOTP secret and the current code is computed locally.

Parameter Description
source Mailbox address or TOTP secret.