cfpop and gmail

Tagged Under :

I know this has come up with a few times before but its something I want to blog more for myself so I could easily refer to it when required.

By default, cfpop does not support ssl and if you are trying to access your gmail account via cfpop, you wouldnt be able to do so straight away because gmail requires you to access its mail server using ssl. There are a couple solutions around (which can be searched via Google) but the best I found was that you can force socketFactory’s class to use ssl (which is not the default behaviour).

Just add the following few lines of code before your cfpop tag call and that should do it! And dont forget to enable POP access in your gmail account first.

Comments:

3 Responses to “cfpop and gmail”


  1. Thanks for this, just what I was looking for :). Works just fine.


  2. I think there is an error on the second line - isn’t javaSystemjavaSystemProps supposed to be javaSystemProps?

    Dan


  3. Hi Dan, you are right. For some reason, the colored coder was messing up the variable name. I had to change the variable name to fix it. The post is updated now. Thanks.

Leave a Reply