def send(self, to=None, subject=None, contents=None, attachments=None, cc=None, bcc=None,
             preview_only=False, validate_email=True, throw_invalid_exception=False, headers=None):
        addresses = self._resolve_addresses(to, cc, bcc, validate_email, throw_invalid_exception)
        if not addresses['recipients']:
            return {}
        msg = self._prepare_message(addresses, subject, contents, attachments, headers)

        if preview_only:
            return addresses, msg.as_string()
        return self._attempt_send(addresses['recipients'], msg.as_string())
Check for a value being in or outside the prior range
dataset/ETHPy150Open kootenpv/yagmail/yagmail/yagmail.py/SMTP.send--crossover with--dataset/ETHPy150Open baudren/montepython_public/montepython/prior.py/Prior.value_within_prior_range