you can tell the iPhone to move inbox messages to the "Trash" folder on the server or on the phone. choosing server will effectively "delete" the message. choosing phone will leave it in the inbox on the server.
Great. I know some smartphones I've had in the past, did not have this ability. When you deleted a message, it only deleted it off the phone, not on the server.