How do you send sms programmatically?

Hello,
How to send sms programmatically in MIT App App Inventor. I want to send SMS in background.