id = assertNotNull(trimToNull(id), "no mailTransport id");
MailTransport transport = mailTransports.get(id);
if (transport == null) {
throw new MailTransportNotFoundException("Could not find mail transport: " + id);
}
// ���ظ���
return new MailTransport(transport, overrideProps);
}