Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Messaging Namespace / EmailTemplate Class / ParseAddresses Method / ParseAddresses(String,Boolean) Method
A coman separated list of email addresses
If 'vendor' keyword is found as an email address this variable returns true
In This Topic
    ParseAddresses(String,Boolean) Method
    In This Topic
    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.
    Syntax
    public virtual IList<MailAddress> ParseAddresses( 
       string addresses,
       out bool hasVendor
    )

    Parameters

    addresses
    A coman separated list of email addresses
    hasVendor
    If 'vendor' keyword is found as an email address this variable returns true

    Return Value

    A List of MailAddress objects parsed from the given coma separated list
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also