Fixing IOS sendMail functionality

The arguments are being pulled from the wrong indexes.  Also fixing some leaked objects by using autoreleased objects.