Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MsgAddress Constructor

Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9147)

MsgAddress(MsgAddress)

Initializes a new instance of MsgAddress class from an existing instance.

Declaration
public MsgAddress(MsgAddress address)
Parameters
Type Name Description
MsgAddress address

An address to copy values from.

MsgAddress(String, String)

Initializes a new instance of MsgAddress class.

Declaration
public MsgAddress(string emailAddress, string displayName = null)
Parameters
Type Name Description
String emailAddress

An e-mail address (optionally with display name). If the value starts with slash ("/"), the address type is set to Exchange. Otherwise, the address type is set to Smtp.

String displayName

A display name of the e-mail address.

MsgAddress(MsgAddressType, String, String)

Initializes a new instance of MsgAddress class.

Declaration
public MsgAddress(MsgAddressType addressType, string emailAddress, string displayName = null)
Parameters
Type Name Description
MsgAddressType addressType

A type of the e-mail address.

String emailAddress

An e-mail address.

String displayName

A display name of the e-mail address.

In This Article
  • MsgAddress(MsgAddress)
  • MsgAddress(String, String)
  • MsgAddress(MsgAddressType, String, String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies