Click or drag to resize

EmailProfile Class

Represents an email profile used to send various email-based notifications.
Inheritance Hierarchy
SystemObject
  Dynamicweb.DataDbObject
    Dynamicweb.Analytics.NotificationsEmailProfile

Namespace:  Dynamicweb.Analytics.Notifications
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public class EmailProfile : DbObject, 
	INotificationProfile

The EmailProfile type exposes the following members.

Constructors
  NameDescription
Public methodEmailProfile
Initializes a new instance of an object.
Public methodEmailProfile(IDataReader)
Initializes a new instance of an object.
Public methodEmailProfile(EmailProfile)
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyConnection (Inherited from DbObject.)
Public propertyDisplayName
Gets the display name of the profile.
Public propertyEncoding
Gets or sets the message body encoding.
Public propertyID (Inherited from DbObject.)
Public propertyIsNew (Inherited from DbObject.)
Public propertySender
Gets or sets messsage sender.
Public propertySubject
Gets or sets message subject.
Public propertyTemplate
Gets or sets the absolute virtual path to the template used to construct message body.
Public propertyTransaction (Inherited from DbObject.)
Top
Methods
  NameDescription
Public methodStatic memberClearCache
Clears the cache.
Public methodCopyTo
Copies the state of the current object to the given one.
Public methodDelete (Inherited from DbObject.)
Public methodDelete(Int32) (Inherited from DbObject.)
Public methodStatic memberDeleteProfiles
Deletes all existing email profiles.
Public methodStatic memberDeleteProfiles(IEnumerableInt32)
Deletes specific email profiles.
Public methodFill
Fills object properties with data provided by a given data reader.
(Overrides DbObjectFill(IDataReader).)
Protected methodFillRow
Fills data row with the property values of the current object.
(Overrides DbObjectFillRow(DataRow).)
Public methodStatic memberFormatAddres
Formats the given email address and returns a string representing it.
Public methodGetDispatchService
Returns a reference to a service that will be used to dispatch notifications associated with this profile.
Public methodStatic memberGetProfileByID
Returns email profile by its ID.
Public methodStatic memberGetProfiles
Returns a list of all available email profiles.
Public methodStatic memberKeepProfiles
Deletes all email profiles except of specific ones.
Public methodLoad (Inherited from DbObject.)
Public methodStatic memberParseAddress
Parses email address information from the given string.
Public methodSave
Saves the profile.
(Overrides DbObjectSave.)
Top
Fields
  NameDescription
Protected field_id (Inherited from DbObject.)
Protected field_keyField (Inherited from DbObject.)
Protected field_tableName (Inherited from DbObject.)
Top
See Also