MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / __init__

Method __init__

src/core/service/email/email_service.py:16–26  ·  view source on GitHub ↗
(
        self,
        smtp_server: str,
        smtp_port: int,
        app_password: str,
        from_email: str,
    )

Source from the content-addressed store, hash-verified

14
15class EmailService:
16 def __init__(
17 self,
18 smtp_server: str,
19 smtp_port: int,
20 app_password: str,
21 from_email: str,
22 ) -> None:
23 self.smtp_server = smtp_server
24 self.smtp_port = smtp_port
25 self.from_email = from_email
26 self.app_password = app_password
27
28 def send_email(self, message: EMessage) -> None:
29 msg = MIMEMultipart()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected