Hi Alan,

On 21 January 2011 22:52, Alan Holden <[email protected]> wrote:

>  Perhaps I should bump this thread by way of a simple question:
> Is anyone out there successfully using the OpenBD tag CFPOP to retrieve
> email w/attachments?
> Thanks!
>
>

So I remembered that I actually do have real email accounts and not just my
gmail account that I can test this with.

I downloaded the latest nightly of the Ready2Run.  Chucked it in a folder
and created a test folder with an index.cfm in it.
The index.cfm contained the following code :

<cfpop
>  server = "mail.domain.co.uk"
>  username = "[email protected]"
>  password = "password"
>  action = "getAll"
>  name = "popGoesTheGmail"
>  attachmentPath = "#ExpandPath('./attach')#"
>  timeout = "60"
>  maxRows = "100"
>  startRow = "1">
>

Usernames and passwords changed to protect the innocent...

I now have a folder with 49 virus riddled attachments that Google was
refusing to download off of my mail server. ;) Seems fine to me.

By the way this cfpop statement above comes from the "how to use cfpop with
gmail" wiki entry. Also, I think you need to make sure that the attachment
path exists. CFPOP won't create it for you.

Stephen
-- 
Stephen Moretti
Blog : http://nil.checksite.co.uk/
Twitter : http://twitter.com/mr_nil
More Twitter : http://twitter.com/CFOverflow

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to