Fixed SMTP host/port validation in sendmail backend: croak calls were inside the eval{} that catches delivery failures, so bad config was silently swallowed instead of propagating. Validation now runs before the eval so misconfigured host/port croaks immediately to the caller.