IPhone Programming

I am new to iPhone programming and I was thinking of developing an sms application through which a user can send and receive sms inside my application - similar to iPhone’s own message application. I think apple doesn't provide any API regarding accessing sms inbox? Is there any other way around it??