Sending message through iOS application

Hey there,
I am developing an app for emergency services and I need to send an SMS through it to predefined emergency contacts, if I use the MessageUI library, a popup window appears and to send the message one has to press the send button. Is there any way this can be bypassed and message may be sent as soon as the function is invoked?