title: Why am I getting an error when trying to send email via port 25
body: <pre><code>Set objCDOSYSMail = Server.CreateObject("CDO.Message") 
  Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
  
  Set Flds = objCDOSYSCon.Fields
  Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
  Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "any mail"
  Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "any password"
  Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "any server"
  Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")  = 25
  Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
  
  Flds.update
  
  Set objCDOSYSMail.Configuration = objCDOSYSCon 
  
  objCDOSYSMail.From = "any mail"
  objCDOSYSMail.To = "any mailid"
  '' // objCDOSYSMail.CC = "any mailid"
  objCDOSYSMail.Bcc = "any mailid"    
  objCDOSYSMail.Subject = "feed back"                     
  objCDOSYSMail.HTMLBody = strBody
  
  objCDOSYSMail.Send
  
  Set objCDOSYSMail = Nothing
  
  '' // Response.redirect("thank.html")
  response.Write("saved")
  </code></pre>