Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailAddress

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
9931e96ab849 with working tree changes
Modifiers
sealed

Represents an email or Outlook address.

Inheritance

  • object
  • EmailAddress

Usage

Explore 22 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 8

Constructors

public EmailAddress(string? address, string? displayName = null, string? rawValue = null) #

Creates an address.

Parameters

address string? required
displayName string? = null optional
rawValue string? = null optional

Methods

public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public string? Address { get; set; } #

SMTP or source-specific address value.

public string? DisplayName { get; set; } #

Human-readable display name.

public string? RawValue { get; set; } #

Original source spelling when available.

public string? AddressType { get; set; } #

Source address type such as SMTP, EX, X400, or FAX.