Changes error response to cater for missing sendmail