If the server is cpanel based, there is no direct method using which this can be achieved. Are you trying to block the outgoing mail when attempted through php as well?
if you have serious reasons to do so in case of mail abuse for spam etc what about simply deleting that account !! that would be my action of choice