<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="smartMassEmail.providers">
<section name="emailQueue" type="SmartMassEmail.Providers.EmailQueueConfigurationHandler, Providers" />
<section name="emailDeQueue" type="SmartMassEmail.Providers.EmailDeQueueConfigurationHandler, Providers" />
<section name="emailDispatch" type="SmartMassEmail.Providers.EmailDispatchConfigurationHandler, Providers" />
<section name="processFailure" type="SmartMassEmail.Providers.ProcessFailureConfigurationHandler, Providers" />
<section name="emailTemplate" type="SmartMassEmail.Providers.EmailTemplateConfigurationHandler, Providers" />
</sectionGroup>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="cachingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings, Microsoft.Practices.EnterpriseLibrary.Caching, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="netTiersService" type="SmartMassEmail.Data.Bases.NetTiersServiceSection, SmartMassEmail.Data" allowDefinition="MachineToApplication" restartOnExternalChanges="true"/>
</configSections>
<smartMassEmail.providers>
<emailQueue defaultProvider="Sql2000EmailQueueProvider">
<providers>
<add name="Sql2000EmailQueueProvider" type="SmartMassEmail.ImplementedProviders.Sql2000EmailQueueProvider, SmartMassEmail.ImplementedProviders" />
<add name="Sql2005EmailQueueProvider" type="SmartMassEmail.ImplementedProviders.Sql2005EmailQueueProvider, SmartMassEmail.ImplementedProviders" />
</providers>
</emailQueue>
<emailDeQueue defaultProvider="Sql2000EmailDeQueueProvider">
<providers>
<add name="Sql2000EmailDeQueueProvider" type="SmartMassEmail.ImplementedProviders.Sql2000EmailDeQueueProvider, SmartMassEmail.ImplementedProviders" />
<add name="Sql2005EmailDeQueueProvider" type="SmartMassEmail.ImplementedProviders.Sql2005EmailDeQueueProvider, SmartMassEmail.ImplementedProviders" />
</providers>
</emailDeQueue>
<emailDispatch defaultProvider="SMTPDotnet2EmailDispatchProvider">
<providers>
<add name="SMTPDotnet1EmailDispatchProvider" type="SmartMassEmail.ImplementedProviders.SMTPDotnet1EmailDispatchProvider, SmartMassEmail.ImplementedProviders" />
<add name="SMTPDotnet2EmailDispatchProvider" type="SmartMassEmail.ImplementedProviders.SMTPDotnet2EmailDispatchProvider, SmartMassEmail.ImplementedProviders" />
</providers>
</emailDispatch>
<processFailure defaultProvider="Sql2000ProcessFailureProvider">
<providers>
<add name="Sql2000ProcessFailureProvider" type="SmartMassEmail.ImplementedProviders.Sql2000ProcessFailureProvider, SmartMassEmail.ImplementedProviders" />
<add name="Sql2005ProcessFailureProvider" type="SmartMassEmail.ImplementedProviders.Sql2005ProcessFailureProvider, SmartMassEmail.ImplementedProviders" />
</providers>
</processFailure>
<emailTemplate defaultProvider="FileSystemEmailTemplateProvider">
<providers>
<add name="FileSystemEmailTemplateProvider" type="SmartMassEmail.ImplementedProviders.FileSystemEmailTemplateProvider, SmartMassEmail.ImplementedProviders" />
</providers>
</emailTemplate>
</smartMassEmail.providers>
<loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="General" logWarningsWhenNoCategoriesMatch="true">
<listeners>
<add fileName="log\trace.log" header="----------------------------------------" footer="----------------------------------------" formatter="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile TraceListener"/>
<add fileName="log\debug.log" header="----------------------------------------" footer="----------------------------------------" formatter="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile DebugListener"/>
<add fileName="log\WebpageError.log" header="----------------------------------------" footer="----------------------------------------" formatter="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile WebPageErrorListener"/>
<add fileName="log\Error.log" header="----------------------------------------" footer="----------------------------------------" formatter="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile ErrorListener"/>
<add fileName="log\WebServiceError.log" header="----------------------------------------" footer="----------------------------------------" formatter="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile WebServiceErrorListener"/>
<add source="Enterprise Library Logging" formatter="Text Formatter" log="Application" machineName="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="Formatted EventLog TraceListener"/>
</listeners>
<formatters>
<add template="Timestamp: {timestamp}
Message: {message}
Category: {category}
Priority: {priority}
EventId: {eventid}
Severity: {severity}
Title:{title}
Machine: {machine}
Application Domain: {appDomain}
Process Id: {processId}
Process Name: {processName}
Win32 Thread Id: {win32ThreadId}
Thread Name: {threadName}
Extended Properties: {dictionary({key} - {value}
)}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="Text Formatter"/>
</formatters>
<categorySources>
<add switchValue="All" name="Debug">
<listeners>
<add name="FlatFile DebugListener"/>
</listeners>
</add>
<add switchValue="All" name="ErrorWebPage">
<listeners>
<add name="FlatFile WebPageErrorListener"/>
</listeners>
</add>
<add switchValue="All" name="Error">
<listeners>
<add name="FlatFile ErrorListener"/>
</listeners>
</add>
<add switchValue="All" name="ErrorWebService">
<listeners>
<add name="FlatFile WebServiceErrorListener"/>
</listeners>
</add>
<add switchValue="All" name="General">
<listeners>
<add name="FlatFile TraceListener"/>
</listeners>
</add>
</categorySources>
<specialSources>
<allEvents switchValue="All" name="All Events"/>
<notProcessed switchValue="All" name="Unprocessed Category"/>
<errors switchValue="All" name="Logging Errors & Warnings">
<listeners>
<add name="Formatted EventLog TraceListener"/>
</listeners>
</errors>
</specialSources>
</loggingConfiguration>
<cachingConfiguration defaultCacheManager="Cache Manager">
<cacheManagers>
<add expirationPollFrequencyInSeconds="60" maximumElementsInCacheBeforeScavenging="1000" numberToRemoveWhenScavenging="10" backingStoreName="Null Storage" name="Cache Manager"/>
</cacheManagers>
<backingStores>
<add encryptionProviderName="" type="Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.NullBackingStore, Microsoft.Practices.EnterpriseLibrary.Caching, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="Null Storage"/>
</backingStores>
</cachingConfiguration>
<dataConfiguration defaultDatabase="SmartMassEmailConnectionString"/>
<connectionStrings>
<add name="SmartMassEmailConnectionString" connectionString="Data Source=servername;Initial Catalog=SmartMassEmailDB;User ID=sa;password=password" providerName="System.Data.SqlClient"/>
<add name="SmartMassEmailConnectionString2005" connectionString="Data Source=servername;Initial Catalog=SmartMassEmailDB2005;User Id=sa;Password=password;" />
</connectionStrings>
<netTiersService defaultProvider="SqlNetTiersProvider">
<providers>
<add name="SqlNetTiersProvider" type="SmartMassEmail.Data.SqlClient.SqlNetTiersProvider, SmartMassEmail.Data.SqlClient" connectionStringName="SmartMassEmailConnectionString" useStoredProcedure="false" providerInvariantName="System.Data.SqlClient"/>
</providers>
</netTiersService>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="TemplateFolderPath" value="C:\DotNetWorkFolder2005\SmartMassEmail\Src\SmartMassEmail.WebApplication\Templates\"/>
<add key="SitePrefix" value="http://localhost:1569/"/>
<!--smtp section-->
<add key="SmtpServer" value="webmail.domain.com"/>
<add key="SmtpServerUserName" value="username"/>
<add key="SmtpServerPassword" value="password"/>
<add key="SmtpPortnumber" value=""/>
<add key="SmtpServerConnectionLimit" value="3"/>
<add key="WaitSecondsWhenConnectionLimitExceeds" value="15"/>
<add key="EmailEncoding" value="utf-8"/>
<!--smtp section end-->
<add key="IntervalMinutes" value="0.05" />
</appSettings>
</configuration>