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

Method send

keepercommander/email_service.py:301–317  ·  view source on GitHub ↗

Send email via provider. Args: to: Recipient email address subject: Email subject body: Email body (plain text or HTML) html: True if body is HTML Returns: True if sent successfully, False otherwise Raise

(self, to: str, subject: str, body: str, html: bool = False)

Source from the content-addressed store, hash-verified

299
300 @abstractmethod
301 def send(self, to: str, subject: str, body: str, html: bool = False) -> bool:
302 """
303 Send email via provider.
304
305 Args:
306 to: Recipient email address
307 subject: Email subject
308 body: Email body (plain text or HTML)
309 html: True if body is HTML
310
311 Returns:
312 True if sent successfully, False otherwise
313
314 Raises:
315 Exception: If send fails with unrecoverable error
316 """
317 pass
318
319 @abstractmethod
320 def test_connection(self) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected