Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handling Attachments

Status
Not open for further replies.

sammylsf

Programmer
Apr 27, 2001
2
HK
Hi,

Coldfusion alway prompt error when I add the attachments hanlding.

<CFPOP SERVER=&quot;mail.domain.com&quot; USERNAME=&quot;user1&quot; PASSWORD=&quot;pass1&quot; ACTION=&quot;GetAll&quot; MESSAGENUMBER=2 ATTATHMENTPATH=&quot;c:\temp&quot; NAME=&quot;mail&quot;>

<UL>
<CFLOOP INDEX=&quot;ListElement&quot; List=&quot;#mail.ATTACHMENTFILES&quot;>
<CFOUTPUT><LI<A HREF=&quot;/temp/#ListElement#&quot;>#ListElement#</A></CFOUTPUT>
</CFLOOP>
</UL>

Please help to solve.
 
Wow sammylsf

That looks like a very useful little snippet there.

Ive never handled file attachments before, but one thing I can see is a possible spelling error.

you spelled ATTACHMENTPATH wrong

<CFPOP SERVER=&quot;mail.domain.com&quot; USERNAME=&quot;user1&quot; PASSWORD=&quot;pass1&quot; ACTION=&quot;GetAll&quot; MESSAGENUMBER=2 ATTACHMENTPATH=&quot;c:\temp&quot; NAME=&quot;mail&quot;>

If you do get this to work please let us know, id like to see how well this sort of thing works.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top