I'm trying to work with CFPOP and get attachments to be written to a 
temp space on a Unix (Sun) workstation.
The examples I've seen for ATTACHMENTPATH all use something like 
"C:\TEMP".  I have tried "/tmp" and nothing is written for a file I 
specify GETALL (action).  Both attributes ATTACHMENTS and 
ATTACHMENTFILES are empty.  

Is the ATTACHMENTPATH absolute from the web root or the volume root?

Why is the attachment for the email msg I specify not writing or showing 
up in the ATTACHMENTS list?

Heres the code...

<cfpop server="mail.domain.com" 
 username="xxx" 
 password="yyy" 
 action="GETALL" 
 name="qGetMail" 
 startrow="1275"
 maxrows="1"
 generateuniquefilenames="Yes" 
 attachmentpath="/tmp">

<cfoutput query="qGetMail">
#messagenumber# - #attachments#<br>
</cfoutput>


-------------------------------------------------
Bruce Holm - Web Programmer
[EMAIL PROTECTED]
-------------------------------------------------


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to