?
Solved

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

Posted on 2003-10-23
2
Medium Priority
?
551 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
kjuliff earned 1000 total points
ID: 9609518
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 1000 total points
ID: 9611489
Have you tried using relative path?
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What You Need to Know when Searching for a Webhost Provider
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

752 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