Bash script to send SMS

Hey guys I was wondering how to go about creating a bash script to send SMS..any ideas are appreciated..

SMS is smtp protocol messages to a cell phone -- email.
Assume your message is in a file called msg.txt, your addressee is verizon # 505-555-5555

mailx -s 'subject text goes here' 5055555555@vtext.verizon.com < msg.txt

That what you mean? You need the SMS address for your wireless company,
somestring.somephoneco.com

Hey thanks For Your reply..although I was thinking more along the lines of a script that uses free web based SMS services.. Problem is how to log into most of the webforms..