handle error when no smtp is not configured