Added another option to send and also updated so it will catch exceptions