From what I recall you also need a port to send gmail.
Google and says: If you're using SSL, enter 465. If you're using TLS, enter 587.

Edit. OK I saw you have a port waaay right in the code. It won't hurt to try 587.