Custom mail sending error

Hi

I have C# code to send mail through gmail server. But when i want to use it in my server(win2003), it not work.
I had another server(win2003) and this code worked correctly on it, and it work correctly in my local computer(win7).
Do anyone know what is the problem?

Hi
The server was Windows2003server-64bit, and the problem was 64bit. I change it to 32bit and it works fine now.
Unfortunately .Net Framework not supported in win2003-64bit, completely.

For more detail go to following link and read “.NET Application Services” section, and its checkpoint in under of table: “(2) Not supported in 64-bit versions of Windows Server 2003. ”
http://technet.microsoft.com/en-us/library/cc758523(WS.10).aspx
I hope this helpful