Using gmail smtp for cdosys

I am using a gmail account for my email "me@mydomain.com". The server that is hosting the domain thinks it is also hosting the email server. As a result, when emails are sent from the site using the smtp server on the server(using cdosys) they never get "out" to the real world. Can I use a gmail server to do this and, if so, how? Otherwise, are there any other options?