How to invoke defaut email function in your application? You can do it in this way after SDK 3.0:
iPhone Tutorial - In-App Email
In case you are still work for 2.x version, you have to use openURL to send email:
Using openURL To Send Email From You App
For SMS function, there don't have a official SDK openned. One possible way is using openURL function as same way for email:
sms:[target phone number] URL to open the SMS application.
But there are no indications on how to prefill a SMS body with text. Also, there have two other private ways to do it but it's illegal and couldn't upload to store:
One is using 'AT' command, another way is using private framework for SMS.
Could you share it to me if you know other way can do it?