title: CDO Classic ASP form not working
body: <p>I have a form that was working for me but i made some amendments and i can figure out why it is now working. I was hoping someone could help. I have changed the SMTP to 0's. My code:</p>
  
  <pre><code>&lt;%  
  submitter = request.form("submitter")
  dotty = request.form("would you like a confirmation email")
  appno = request.form("application number")
  cust = request.form("customer name")
  broker = request.form("broker name")
  company = request.form("company")
  introtel = request.form("broker contact number")
  sdate = request.form("date of call")
  stime = request.form("time of call")
  sreason = request.form("reason")
  
  
  Set cdoConfig = CreateObject("CDO.Configuration")  
  
  With cdoConfig.Fields  
      .Item(cdoSendUsingMethod) = cdoSendUsingPort  
      .Item(cdoSMTPServer) = "00.000.00.000"  
      .Update  
  End With 
  
  Set cdoMessage = CreateObject("CDO.Message")  
  
  With cdoMessage 
      Set .Configuration = cdoConfig 
      .From = submitter
      .To = "Me@me.co.uk"
      .Subject = Callback request
      .TextBody = "Advisors Name: " &amp; submitter &amp; vbcrlf &amp; vbcrlf &amp; "Application Number: " &amp; appno &amp; vbcrlf &amp; vbcrlf &amp; "Customer Name: " &amp; cust &amp; vbcrlf &amp; vbcrlf &amp; "Broker Name: " &amp; broker &amp; vbcrlf &amp; vbcrlf &amp; "Company: " &amp; company &amp; vbcrlf &amp; vbcrlf &amp; "Broker Contact Number: " &amp; introtel &amp; vbcrlf &amp; vbcrlf &amp; "Date of Call: " &amp; sdate &amp; vbcrlf &amp; vbcrlf &amp; "Time of Call: " &amp; stime &amp; vbcrlf &amp; vbcrlf &amp; "Reason for Escalation: " &amp; sreason 
      .Send 
  End With 
  
  Set cdoMessage = Nothing  
  Set cdoConfig = Nothing  
  
  Response.write "&lt;HTML&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;body bgcolor=""#161712"" TEXT=""white"" ALINK=""white"" VLINK=""white""&gt;&lt;center&gt;&lt;br&gt;&lt;br&gt;&lt;Br&gt;&lt;Br&gt;&lt;Br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;Br&gt;&lt;br&gt;&lt;Br&gt;&lt;br&gt;Your request has been submitted....&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href = ""javascript:window.close();""&gt; Click here to close window &lt;/a&gt; &lt;/center&gt;&lt;/body&gt;&lt;/HTML&gt;"
  
  %&gt;
  </code></pre>