I think you mean SMS messages. Is that right?
If so it is possible.
Look at the
Wireless Messaging API Notice that this is from one phone to another.
To send from the computer to a phone is a bit more complicated since you need some service of your mobile provider (such as ICQ...)