I had a quick inspiration to check out the code Zoho Mail uses to implement the autocomplete feature that amazed me. This allowed me to get familiar with Firebug Javascript debugger.
On Settings->Common Settings->Mail accounts the field “Email ID” calls “confAccount(this)” when an /onblur/ event is triggered on it.
This little function checks whether the email is a valid GMail, Zenbe or Aol address and configures the SMTP/POP3 server addresses and ports automatically.
Have a closer look to the function loading the JS file and searching for “confAccount”.
Recent comments
2 weeks 1 hour ago
2 weeks 1 day ago
3 weeks 5 days ago
3 weeks 5 days ago
4 weeks 3 days ago
7 weeks 8 hours ago
8 weeks 5 days ago
11 weeks 6 days ago
11 weeks 6 days ago
12 weeks 3 hours ago