1 Reply Latest reply on Dec 12, 2006 3:19 AM by MikerRoo

    deleting file after sending an email with attachment


      I have looked in the forums and have not found any reference to it.
      I need to send an email with an attachment that is sourced via a form.

      The problem that I am having is that when I include the code to delete the file from the directory, the cfmail fails to execute. When I do not include the code to delete the file, it works fine.
      Any ideas?

      I tried with both, virtual and physical paths.