MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / __init__

Method __init__

keepercommander/email_service.py:294–298  ·  view source on GitHub ↗
(self, config: EmailConfig)

Source from the content-addressed store, hash-verified

292 """
293
294 def __init__(self, config: EmailConfig):
295 self.config = config
296 validation_errors = config.validate()
297 if validation_errors:
298 raise ValueError(f"Invalid email configuration: {', '.join(validation_errors)}")
299
300 @abstractmethod
301 def send(self, to: str, subject: str, body: str, html: bool = False) -> bool:

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected