CRM software runs my life

Tag: google apps

Windows Mobile 6.5 fails to ActiveSync with Google Apps

Setting up your Windows Mobile 6.5 phone for Google Apps should be simple, there are some clear instructions located here. However I have found that on some HTC Windows based phones the account creation process does not go so smoothly. After a bit of hunting around I found someone who had a fix for me. Here is the more detailed version of how to get it working:

  1. Connect your phone to your PC via the USB cable
  2. Disable all syncing with your PC by clicking Tools -> Options
  3. Click the Settings button and add your Exchange (Apps) account (do not check “Detect Settings”) and check Email syncing only
  4. Sync
  5. Edit the Exchange settings and check “Detect Settings”
  6. Sync
  7. Edit the Exchange settings again and check Calendar and Contacts (no tasks in Apps remember!)
  8. Sync again

And there you go! Not sure if this is a bug in Activesync, the phone or Apps, but it sure is annoying. At least it only occurs on setup, after that everything seems to keep up to date with no problems.

New host, new look!

Out with the old...

Today I moved my blog to Dreamhost, upgraded to WordPress 3.0 and changed themes. Please let me know what you think! I am moving towards shutting down my Windows VPS system as I simply no longer have the time to maintain it. Web hosting is such a mass-produced commodity these days that it makes no sense to maintain your own DNS, WWW or mail server. Dreamhost and Google Apps are now splitting the roles for well under $100 a year. That saves me a lot of time, and my time is worth about $100 an hour right? To the cloud!

Send Clientexec Invoices using Google Apps or Gmail

As a trial I have recently migrated my email from Microsoft Exchange to Google Apps. Google Apps Standard is free (even for multiple custom domains) and therefore significantly cheaper than my current Microsoft Exchange and Windows VPS setup. The built-in Mail Fetcher tool lets you keep your Google account downloading emails regularly (about every 20 mins?) from your Exchange account, while you take your time to migrate your DNS changes over. Once you are done you can shut down your Exchange account and disable Mail Fetcher.

Of course changing mail servers will have some effects, in my case it broke the email function of my Clientexec invoicing system. Luckily I found a great post by Adrian Jon Kriel that fixed my problem (thanks!), and I have reproduced it below:

Default clientexec smtp mailer (PHPMailer) cannot handle the required SSL/TLS SMTP via port 465 for gmail.


You will need a valid Gmail or Google Apps account with POP3 enabled (Gmail->Settings->Forwarding and POP/IMAP ->Enable POP for all mail)

Step 1) Modify the file: PHPMailer.php in your clientexec directory: /newedge/classes/

Step 2) Replace the following code around line 534:

// Retry while there is no connection
while($index < count($hosts) && $connection == false)
if(strstr($hosts[$index], ":"))
list($host, $port) = explode(":", $hosts[$index]);


// Retry while there is no connection
while($index < count($hosts) && $connection == false)
// modified for GMAIL
// if(strstr($hosts[$index], ":"))
// list($host, $port) = explode(":", $hosts[$index]);
if(strstr($hosts[$index],"://")) list($protocol,$hostPort) = explode("://",$hosts[$index]) ;
if(strstr($hostPort, ":")) list($host, $port) = explode(":", $hostPort);

Step 3) Change your clientexec Email settings (admin->SYSTEM SETUP-> e-mail settings)

Mail Type: SMTP
SMTP Host: ssl://
SMTP Username: (this will be your gmail login name)
SMTP Password: gmail_password (this will be your gmail login password)
SMTP Port: 465
Send Multi-Part MIME Messages: Yes or No (your own preference)


  • If you get “Connection Timeout” errors when u send an email, contact your host to open the TCP port 465.
  • On Windows servers you may need to add the “extension=php_openssl.dll” line to your php.ini configuration file.

Powered by WordPress & Theme by Anders Norén