We are using the cfpop tag to do a simple display and I am having trouble
showing the number of attachments. There is one particular individual that
when they send an attachment, it always shows up as 0 attachments.  Funny
thing is, if I forward that email to myself, or attach that same attachment,
it shows up fine.  Would there be something with his email client (Using
Outlook Express 5, which is what I was using as well)?

Code below:
<cfpop
action="GetAll"
name="GetMessages"
server="mail.xxxxx.xxxx"
username="xxx"
password="xxx"
attachmentpath="d:\somepath\test"
generateuniquefilenames="yes"
>

   <cfoutput query="GetMessages">

   Getting Msg #MsgNum# of #GetMessages.recordcount# <br>
   From: #GetMessages.from# <br>
   Subject: #GetMessages.subject# <br>

   <cfset NumAttachments = ListLen(GetMessages.Attachments)>


   Number of Attachments: #NumAttachments# <br>
   ======================== <br>
</cfoutput>

Thanks!
Tim P.

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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