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)
| 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: |
nothing calls this directly
no outgoing calls
no test coverage detected