The RemoveReceivedMail method will remove the received message from the Inbox folder.
Mailing.RemoveReceivedMail
This method can only be called when processing a message during the OnReceiveMail event
See the OnReceiveMail example
Mailing Object
SubmitMail, OnReceiveMail