Is #attachments[1].attachedfile#" a fully qualified path?

Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273



-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of KC Kuok
Sent: Thursday, 24 January 2008 2:23 PM
To: cfaussie
Subject: [cfaussie] Help with CFmail sending multiple attachments


Hi all,

I am having a little trouble generating mail with multiple
attachments, they seem to be rejected then placed into Undeliverables
folder. I have checked the path and it looks correct, and I am out of
ideas. The server is a up-to-date CF 7 standard server.

*Note: I know i am sending only one file, but the main issue is that
cfmailparam doesn't seem to work when attaching attachments. I have
tested using mimeattach and it works. The server will spool and send
emails without attachment and emails with attachment declared in
mimeattach in the CFMAIL tag.

I have also refered to a few sites and i do not see the difference
between their code and mine below, so fresh eyes and help is much
appreciated.

Thanks,
Chong

This is what is in the Undeliverables folder...

server:  ...:25
from:  ...
to:  ...
cc:  ...
subject:  ...
type:  text/html; charset=UTF-8
X-Mailer:  ColdFusion MX Application Server
body:  ...
file:  d:\sites\mymlc\wwwroot\...\test1.txt
file-type:  text/plain; name=test1.txt
file-disposition:  attachment


This is roughly what I use to generate the mail

<cfmail ...>
...<cfmailparam file="#attachments[1].attachedfile#"
disposition="attachment">
</cfmail>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to