Skip to main content
Aug 12, 2013 10:29 PM UTC
Question

CFPOP & Attachment

Hi,

How can i get the attachment files from a email?

I'm using the following code:

<CFPOP ACTION="GETALL"

       NAME="Message"

       MESSAGENUMBER="#URL.idMsg#"

       SERVER="server.mail.test"

       USERNAME="test"

       PASSWORD="teste"

       ATTACHMENTPATH="f:\temp\email\">

But all the times i got the file f:\temp\email\winmail.dat.

How can i get the attachment file like pdf, xml and other?

Thank's

This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

p_sim
Participating Frequently
Aug 12, 2013 10:36 PM UTC
Aug 12, 2013 11:01 PM UTC

There is no exemple that save the attachment. Do you have one exemple to send?

Thanks!

Translate
p_sim
Participating Frequently
Aug 13, 2013 3:31 AM UTC

If you read through it, there is a link to retrieve emails and save attachments.

http://livedocs.adobe.com/coldfusion/8/htmldocs/email_10.html#1096313

Translate