A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond – Connecting to Gmail with .NET

I’ve been trying to setup a web form to send mail using my google account, but I have repeatedly had no luck. I’ve found many posts about people who are having the same problems, but have yet to come across a viable solution. Here is the code, if you see something that is incorrect, please let me (and others) know how to fix it.

System.Net.Mail.MailMessage mail = new MailMessage();
mail.From = new MailAddress("no-reply@mydomain.com", "Do Not Reply");
mail.To.Add(new MailAddress("email@mydomain.com", "My Email"));
mail.Subject = "Email Subject";
mail.Body = message;
mail.IsBodyHtml = true;
mail.Priority = MailPriority.High;
SmtpClient client = new SmtpClient();
client.EnableSsl = true;
client.Port = 587;
client.Host = "smtp.google.com";
client.UseDefaultCredentials = false;
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.Credentials = new System.Net.NetworkCredential("no-reply@mydomain.com", "password");

GBoard the Keypad Specifically for Heavy Gmail Users

If you’re a Gmail user (which many of us are now), or if you have a friend or family member who is heavily into Gmail, you might want to take a look at the GBoard this holiday season. The GBoard is a keypad made specifically to integrate into GMail and its shortcut keys.

Using the GBoard is simple, as it connects via USB. Setting it up just requires 2 steps… only 1 step if you already have shortcuts enabled in GMail. If you already have shortcuts enabled in Gmail, simply plug the GBoard into your USB and you’re all set. If you don’t already have Keyboard shortcuts enabled, you’ll need to enable keyboard shortcuts in your GMail settings. That’s it! You’ll be all setup and ready to run your GBoard immediately!

GBoard the Keypad Specifically for Heavy Gmail Users
GBoard the Keypad Specifically for Heavy Gmail Users
  • Q: what is the Gboard?
  • A: the Gboard is a unique keyboard designed to turbo-charge your Gmail ™ experience. we’ve put what we feel are the most useful Gmail ™ shortcuts together in one convenient place, with icons and colors to help you access the Gmail™ shortcuts fast.
  • Q: is the Gboard perfect?
  • A: no. for example there are times when you’ll need to use the ESC key to exit an input field before using the Gboard keys (just as you would using shortcuts on your primary keyboard).
  • Q: is the Gboard affiliated with Google?
  • A: no. the Gboard works with Gmail ™, but it is in no way affiliated with Google, Inc. Google™, Gmail™ and their respective logos are the property of Google, Inc.
  • Q: what do i need to use the Gboard?
  • A: the Gboard works with both Mac and PC. anyone using Gmail ™ with a qualified web browser and a USB port can use the Gboard.
  • Q: is there any software to install?
  • A: no. software isn’t necessary with the Gboard. it operates using the built-in capabilites of your operating system and browser.
  • Q: is it easy?
  • A: yes. as you learn how shortcuts work, and how the Gboard can help you make the most of them, you’ll be a pro in no time using all the Gmail ™ shortcuts without even looking.
  • Q: any instructions for this thing?
  • A: the Gboard is mostly self-explanatory, but we’ve created a help area to help you get started. Happy Gmail ™ shortcutting.

The Two Things That Geeks Want Most

There is no question about it, there are two things out there that high on the list of demands for features to be added to things we use everyday.

  1. Copy & Paste Support for the iPhone
    This is apparently coming with the release of the iPhone 3.0 software. I’ll believe it when I see it! This has been a feature that has been being requested since the first iPhone was bought, and it sounds like it actually might become a reality in the near future.
  2. HTML Signatures in Gmail
    Lets face it… we all use Gmail, and we all use many of the great features that are offered in Gmail Labs, but the thing that is absolutely requested more than any other feature has got to be the request for HTML signatures in Gmail. As soon as HTML signatures are offered, I wouldn’t be surprised if sales and usage of Microsoft Outlook dropped by half. HTML signatures are the one thing that email clients offer that google has unfortunately not started to offer inside of Gmail yet.

It’s funny some of the most trivial things like Copy & Paste and HTML Signatures are also 2 of the things that 2 of the biggest tech companies have failed to offer for a long time. What do you think? Does anyone have a guess on an ETA for HTML Signatures?

Let’s start a petition…

Sign/Comment below if you’d like Gmail Labs to start offering an HTML Signature option.

Problems with Google Mobile Sync for iPhone

As much as I love the new Google Mobile Sync for my iPhone, there are a couple problems that I’ve come across. Well, they’re not necessarily problems, but they’re “features” that I might like to see added.

Syncing to iPhone
This is when I add contacts in Gmail and they are Pushed to my iPhone.


  • Contact photo gets pushed to iPhone


  • Nowhere to add birthday
  • Deleting a contact in Gmail doesn’t remove it from my iPhone

Syncing to Gmail
This is when I add new contacts in my iPhone and they are pushed to Gmail. I love the fact that when adding contacts on the iPhone, you can typically put in all information immediately, including a photo.


  • Automatically backs up new contacts to Gmail. No need to sync to your computer anymore.


  • Does not push contact photo to Gmail
  • Does not push contact birthday to Gmail
  • Deleting a contact from my iPhone doesn’t delete it from my Gmail contacts

Other than these few minor “problems” there is not really anything else that needs to be added. I love the features and functionality of google mobile sync. Stay tuned for my review of how to sync your iPhone calendar to two or more Google Calendars.

Gmails Black Dot, Replaced With a White Dot – Dot in Upper Left Corner of Gmail – Where It’s Visible…

A couple weeks ago, there were a few posts on Flickr and Digg about the black dot in the upper left corner of Gmail, since those posts, it seems that Google has removed the little black dot, but just because it is not visible, doesn’t mean that it is not there… It has now been replaced with a white dot!!!

Original black dot:

Gmail Black Dot

New White Dot:

Gmail White Dot in Firefox
Gmail White Dot in Safari

How to see the new white dot in gmail:

When viewing a message that has an email address in it, click on the email address link. This will open a popup window to compose a new message. This popup window has a blue background, rather than a white background, thus making the new white dot that Google used to replace the black dot become apparent.

What is this??? Is it the way into the matrix???