drive maps are tied to a user.  So, to do this you have to have the CF
service run as a user with rights to that UNC path.  Note, if in a windows
domain, this user needs to be a domain user account.

serach the archives on this, you will find a few threads as its a common
question

DK

On 7/17/06, Orlini, Robert <[EMAIL PROTECTED]> wrote:
>
> 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:246788
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