Hi my last phone was a treo, and it had a function where if you deleted a message off the phone and then resynched with the POP mail server it would then delete the messages off of the server. Is it possible to have this functionality with the iphone?

thanks in advance