Table of Contents

Class MessageDeliveryProviderConfiguration

Namespace
Dynamicweb.Mailing
Assembly
Dynamicweb.Mailing.dll
Represents configuration for message delivery provider
public class MessageDeliveryProviderConfiguration : DbObject
Inheritance
MessageDeliveryProviderConfiguration
Inherited Members

Constructors

MessageDeliveryProviderConfiguration()

Default constructor
public MessageDeliveryProviderConfiguration()

Properties

Name

Gets or sets the name.
public string Name { get; set; }

Property Value

string
The name.

Provider

Gets or sets the provider.
public MessageDeliveryProvider Provider { get; set; }

Property Value

MessageDeliveryProvider
The provider.

ProviderConfiguration

Gets or sets the provider configuration.
public string ProviderConfiguration { get; set; }

Property Value

string
The provider configuration.

Methods

Fill(IDataReader)

Fills current object fields with IDataReader object instance data
public override void Fill(IDataReader reader)

Parameters

reader IDataReader
IDataReader object instance

FillRow(DataRow)

Override the FillRow method to map all the properties values to their respective field on the datarow. Used when the object is being saved.
protected override void FillRow(DataRow row)

Parameters

row DataRow
The datarow to fill with data.

GetDefaultDeliveryProvider()

Gets the default delivery provider.
public static MessageDeliveryProviderConfiguration GetDefaultDeliveryProvider()

Returns

MessageDeliveryProviderConfiguration
MessageDeliveryProviderConfiguration object instance

GetDeliveryProviderById(int)

Gets the delivery provider by id.
public static MessageDeliveryProviderConfiguration GetDeliveryProviderById(int id)

Parameters

id int
The id.

Returns

MessageDeliveryProviderConfiguration
MessageDeliveryProviderConfiguration object instance

GetDeliveryProviders()

Gets all delivery providers.
public static IEnumerable<MessageDeliveryProviderConfiguration> GetDeliveryProviders()

Returns

IEnumerable<MessageDeliveryProviderConfiguration>
IEnumerable of MessageDeliveryProviderConfiguration object instance
To top