Thanks Ben,

Anyway I can specify an attachment that is on another machine besides the one 
my CF program is on?

For example, after I map the drive can I specify: \\me\documents and 
settings\me\desktop\me.pdf in the <cfmailparam file=": \\me\documents and 
settings\me\desktop\me.pdf " />? Is there another way to do this if it is 
possible?

Robert O.

 -----Original Message-----
From:   Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent:   Friday, July 14, 2006 4:35 PM
To:     CF-Talk
Subject:        RE: Mimeattach question

EDIT*   If you are Spooling the emails, then the mail might not go out
before the FILE IS DELETED. 


........................
Ben Nadel 
www.bennadel.com

-----Original Message-----
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 4:24 PM
To: CF-Talk
Subject: RE: Mimeattach question

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:246780
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to