Hi,
I'm having a weird problem with attachments that hopefully someone can help
me with. I've created a form where users can attach a file if needed. The
problem is that the attachment only seem to work for 1 particular file and
not any other files even though I made sure that all the other files do
actually exist. Also when the attachment (of that particular file) reaches
it's destination, it only contains 1kb of the original 9kb. Any ideas?
Here's a snippet of the code in the form action:
<CFIF #Attachment# NEQ "" AND #FileExists(Attachment)# EQ "True">
<CFMAIL
FROM="#FromEmail#"
TO="#SendTo#"
SUBJECT="#Topic#"
MIMEATTACH="#Attachment#"
>
#YourName# wrote:
#Comments#
</CFMAIL>
<CFELSE>
<CFMAIL
FROM="#FromEmail#"
TO="#SendTo#"
SUBJECT="#Topic#"
TYPE="HTML"
>
#YourName# wrote"
#Comments#
</CFMAIL>
</CFIF>
TIA,
Linda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists