Added a wrapper function for 'rejectMsg'