* email later.
*/
if( targetServers == null || targetServers.size() == 0 )
{
AspirinInternal.getLogger().warn("ResolveHost.handle(): No mail server found for: '{}'.",new Object[]{host});
throw new DeliveryException("No MX record found. Temporary failure, trying again.", false);
}
AspirinInternal.getLogger().trace("ResolveHost.handle(): {} servers found for '{}'.",new Object[]{targetServers.size(),host});
dCtx.addContextVariable("targetservers", targetServers);
} catch( DeliveryException de ) {
throw de;
} catch (Exception e) {
AspirinInternal.getLogger().error("ResolveHost.handle(): Could not get MX for host '"+host+"' defined by recipient '"+currentRecipient+"'.",e);
throw new DeliveryException("No MX record found. Temporary failure, trying again.", false);
}
}