5 Replies Latest reply on Sep 9, 2007 9:14 PM by ThreeRavens

    cfmail not working. Please help!

    emartek
      I am trying to get this to send an email each time a file is uploaded. All the fields in the form are updating the database correctly but the email is never sent and no error message is generated. Any ideas....please help!!!

      <cfif IsDefined("FORM.ID")>
      <cfupdate datasource="xxxxxxx" tablename="FTPCatalog">
      <cfelse>
      <cfinsert datasource="xxxxxxx" tablename="FTPCatalog">
      <cfmail to = "#SendTo#"
      from = "#EmailAddress#"
      subject = "FTP file upload notification!"
      server = "mail.server.net" >

      A file has been uploaded to the server.


      </cfmail>

      </cfif>