Solved

CFMAILPARAM:  Resource not found.... WHY?????

Posted on 2003-10-23
2
523 Views
Last Modified: 2013-12-24
I am trying send a HTML email reply with a PDF attachment.  It is giving me the error below.  But the file is absolutely there and is matching up just fine.  Does anyone have any experience with this or know of a guarenteed way to attach a file.

Thanks,
Jeff




The resource E:\Inetpub\ASiM\certificates\test.pdf was not found.  
The root cause was: .  
 
The error occurred in E:\Inetpub\ASiM\web\certificate.cfm: line 16
 
14 :
15 :   <CFMAIL QUERY="getProgram" SUBJECT="ASiM CME Certificate" TO="""#VisitorFirstName# #VisitorLastName#"" <#VisitorEmail#>" FROM="""ASiM CME Certification"" <cme@jhasim.com>" TYPE="HTML">
16 :   <CFMAILPARAM FILE="E:\Inetpub\ASiM\certificates\test.pdf">
17 :   <!--- <CFMAILPARAM FILE="E:\Inetpub\ASiM\certificates\cert_#getProgram.VisitorLastName#_#getProgram.CMEResultsID#.pdf"> --->
18 :     <HTML>

 
0
Comment
Question by:jeffmace
2 Comments
 
LVL 1

Accepted Solution

by:
kjuliff earned 250 total points
Comment Utility
I think it is because you are using the query wothin CFMAIL. I am not sure how the parameters stack. The following SHOULD work.

<CFLOOP  query = "getProgram">
<cfset visitoremail=<whatever>
<cfset from=<whatever>

<cfmail
"SUBJECT="ASiM CME Certificate"
TO="#visitoremail#
FROM#from#"
TYPE="HTML">



<CFMAILPARAM FILE="E:\Inetpub\ASiM\certificates\test.pdf">

>

</cfmail>
</cfloop>
0
 
LVL 2

Assisted Solution

by:Crazee
Crazee earned 250 total points
Comment Utility
Have you tried using relative path?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now