Programmatically send text messages

I want to send out text messages programatically either in  C# server side code, or javascript client side code. I might send 150,000 messages per day.
1) If I set up my own sms (text messaging) server such as openfire, will I still have to pay someone in order to send text messages out to the public?
2) Does the recipient pay when they receive the message unless they have an unlimited text plan with their carrier?
3) Is the phone number the only thing that is needed to send a text to it? Does it automatically translate the carrier based on the number?

Hopefully an easy 500 points. Thanks.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1) Openfire is NOT an SMS server.  Openfire uses XMPP and does not send messages to mobile phones using SMS.  If you wish to send text messages through a mobile phone network, you will have to utilize a third-party service for this and most likely will have to pay a fee.

2) The receipt may or may not have to pay a fee, depending on their service agreement with their phone provider.  This is between them and their service provider.

3) The phone number is all that is needed to properly direct an SMS text message.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wildfire SMS Gateway is a free package that can be used with Openfire to send SMS text messages through the AnySMS gateway.  Even though the code is free, the AnySMS gateway may charge you per message sent.
BobHavertyComhAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Chat / IM

From novice to tech pro — start learning today.