its the same as this link pointed by Anderson (Converted to VFP by William Steinford). http://fox.wikis.com/wc.dll?Wiki~GetPopEmail i try it above with (pop.gmail.server+username+password) and returns error despite setting pop enabed in my gmail . Return same error (protocol) as shown in the photo attached above.