Resolved bug in form submit where is was not sending the message