Rob,
I think it would be easier to use a CFMailParam:
<cfmail
to="[EMAIL PROTECTED]"
from="[EMAIL PROTECTED]"
subject="test">
<!--- Attach as many files as you want this way. --->
<cfmailparam file="C:\bsw.txt" />
</cfmail>
Also be careful if you are deleting that file after sending... If you are
Spooling the emails, then the mail might not go out before the email is
sent. In that case, be sure to set spoolenable="no" in the CFMAIL tag.
.......................
Ben Nadel
www.bennadel.com
-----Original Message-----
From: Orlini, Robert [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 4:15 PM
To: CF-Talk
Subject: Mimeattach question
Hello,
How do I work with the Mimeattach variable in Cfmail?
This line generates an error: <CFMAIL TO="[EMAIL PROTECTED]" FROM="[EMAIL
PROTECTED]"
SUBJECT="test" mimeattach="C:\bsw.txt">
Error: The resource C:\bsw.txt was not found. The root cause was: . <br>The
error occurred on line 1.
I know its simple, but what are some of the code steps to fix this
Thanks!
Robert O.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246638
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4