}
boolean sentSuccessfully = false;
while ( !sentSuccessfully && urlnIt.hasNext() )
{
try {
URLName outgoingMailServer = urlnIt.next();
AspirinInternal.getLogger().debug("SendMessage.handle(): Attempting delivery of '{}' to recipient '{}' on host '{}' ",new Object[]{dCtx.getQueueInfo().getMailid(),dCtx.getQueueInfo().getRecipient(),outgoingMailServer});
Properties props = session.getProperties();
if (message.getSender() == null) {
props.put("mail.smtp.from", "<>");
} else {