title: Need to use the smtp settings of coldfusion 10
body: <p>There is a new settings of <code>Application.cfc</code> in the coldfusion 10 which is: </p>
  
  <pre><code>   this.smtpServersettings = as a structure
  </code></pre>
  
  <p>I can hard code the values here, but i am saving my mail settings in the database and i want to use those values here, is it possible or not to use the database settings here or not. </p>
  
  <p>here is my Update: </p>
  
  <pre><code>&lt;cfcomponent hint="File for the Website" output="false"&gt;
      &lt;cfsetting showdebugoutput="no"&gt;
      &lt;cfset this.name = "myProject1"&gt;
      &lt;cfset this.applicationTimeout = createTimeSpan(2,0,0,0)&gt;
      &lt;cfset this.clientmanagement= "yes"&gt;
      &lt;cfset this.loginstorage = "session"&gt;
      &lt;cfset this.sessionmanagement = "yes"&gt;
      &lt;cfset this.sessiontimeout = CreateTimeSpan(0,0,40,0) /&gt;
      &lt;cfset this.setClientCookies = "yes"&gt;
      &lt;cfset this.scriptProtect = "all"&gt;
      &lt;cfset this.setDomainCookies = true&gt;
      &lt;cfset this.customTagPaths = ExpandPath('customtags')&gt;
      &lt;cfset this.datasource = {name="myDB"}&gt;
      &lt;cfset this.smtpServersettings = {structur as username,password and mail settings}&gt;
  </code></pre>
  
  <p>but that value needs to be through database, can you show me an example please</p>