So, yet another weird issue with ColdFusion (9 I believe I'm using).
When I send an email, my attachment is being deleted from the directory!!
<cfmail to="#to#" from="#from#" subject="#subject#">
<email content here>
<cfmailparam disposition="attachment" file="imagename.jpg">
</cfmail> <!--- email details omitted because irrelevant --->
When I run that, the attachment sends, but it deletes it from the folder it was stored in (same directory as the script).
However, when I change the file path to the FULL path, it works fine.
file="C:\yadda\yadda\yadda\scripts\imagename.jpg"
Why does the first option send the attachment but remove it from the folder?