use error object for 'err' callback param for smtp