Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Messaging Namespace / EmailTemplate Class
Properties Methods


In This Topic
    EmailTemplate Class Members
    In This Topic

    The following tables list the members exposed by EmailTemplate.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the BCCList  
    Public Property Gets or sets the body of the email template.  
    Public Property Gets or sets a value indicating whether the Body contents are persisted or not.  
    Public Property Gets or sets the CCList  
    Public Property Gets or sets the ContentFileName  
    Public Property Gets or sets the identity of this entity.  
    Public Property Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets or sets the FromAddress  
    Public Property Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity)
    Public PropertyOverridden.  Gets or sets the Id for the entity.  
    Public Property Gets or sets a value indicating whether IsHTML  
    Public Property Gets or sets the Name  
    Public Property Gets or sets the OrderStatuses  
    Public Property Gets the Hashtable of parameters set for this template.  
    Public Property Gets or sets the ReplyToAddress  
    Public Property Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Property Gets or sets the Store  
    Public Property Gets or sets the Subject  
    Public Property Gets or sets the ToAddress  
    Public Property Gets or sets the Triggers  
    Top
    Public Methods
     NameDescription
    Public Method Add the given email address to 'BCC' address list  
    Public Method Add the given email address to 'CC' address list  
    Public Method Add the given email address to 'TO' address list  
    Public Methodstatic (Shared in Visual Basic) Generates a copy of the indicated item.  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Generates mail messages for this email template  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Parses a single email addresses and creates a MailAddress object. 'merchant', 'vendor' and 'customer' are special keywords that are replaced by appropriate email addresses of merchant, vendor or customer.  
    Public MethodOverloaded.  Parses a given list of coma separated email addresses and creates a list of MailAddress objects. 'merchant', 'vendor' and 'customer' are special keywords that are replaced by appropriate email addresses of merchant, vendor or customer.  
    Public Method Reloads the message body from the message content file  
    Public MethodOverloaded.  Sends the email messages geneated for this email template  
    Top
    Protected Methods
     NameDescription
    Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Protected Method

    When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

    Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

    Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

    (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Delete the entity from the database
    Public Extension Method Save the entity to the database
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also