I searched for SMS on here and found various links, including to the www.gnokii.org Linux SMS/phone controller software. I couldn't find anything for Win32.
Google was successful though and this looks good gammu
I haven't tried it but its released under the GNU GPL so is free. Just a heads up for anyone wanting to do this.