private void fillInRecipientFailureReport(
RecipientProblemReport report, SendingFailure failure) {
SendException exception = failure.exception;
report.recipient = failure.recipient;
report.status = exception.errorStatus();
report.remoteMta = exception.remoteMta();
if (exception instanceof RemoteMtaErrorResponseException)
report.remoteMtaDiagnosticStatus =
((RemoteMtaErrorResponseException) exception)
.remoteMtaStatus();