Posted By

tpryan on 03/08/11


Tagged

gmail imap


Versions (?)

CFIMAP for Gmail to get System Folders


 / Published in: ColdFusion
 

  1. <cfsetting showdebugoutput = true enablecfoutputonly="false" />
  2.  
  3. <cfimap action="open" server="imap.gmail.com" secure="true"
  4. username="#username#" password="#password#" connection="imap" >
  5.  
  6. <cfimap action="listallfolders" connection="imap"
  7. recurse="true" name="temp" folder="[Gmail]" >
  8.  
  9. <cfimap action="close" connection="imap" />

Report this snippet  

You need to login to post a comment.