PHP

FileMaker et al

I haven't written much about FileMaker lately, and I should, since it is still the most useful tool I have in my arsenal. I live in it almost every day. Together with a host of other technologies FileMaker is proving itself to be an extremely awesome platform to build a startup on. 

At DevCons past, Rich Columbre used to give a talk called something like "FileMaker at the Center". This is my version of that talk and I call it "FileMaker et al". Let me start with a little background information. 

PHP imap_open "Web login required" (Failure) on gmail

I was setting up mailhandler on a fresh drupal install, and I kept getting an error when I tried connecting to a BRAND new google apps account I had setup. I could connect to other accounts on the same domain, but this was failing over and over again.

Finally i busted out and just tried a raw imap_open on the account, using PHP running on the same server as Drupal.  It still failed but that gave me the error.

Notice: Unknown: [ALERT] Web login required (Failure) (errflg=1) in Unknown on line 0

After a bit of googling I discovered this post.  I can't find the author's name on there, but who ever you are thanks!.  The post explained that google will disable imap/pop access to email accounts if they are over used.  My guess is the also do it for new accounts as well.  The post also explained how to solve the problem, by unlocking the account.

"you may need to clear and unlock the CAPTCHA. To unlock CAPTCHA for Gmail account, go to the following URL:

https://www.google.com/accounts/DisplayUnlockCaptcha

Note: For Google Apps user, visit https://www.google.com/a/yourdomain.com/UnlockCaptcha instead, with yourdomain.com as the valid domain name."

Syndicate content