email_keyword_matcher/__init__.py
def send(self, to_email: str, subject: str, contents: str) -> None:
        """Send mail and include the available keywords in the message."""
        message = email.message.EmailMessage()
        message.set_content(f"{contents}\n\nKeywords: {list(self.keywords)}")
        message['to'] = to_email
        message['from'] = self._email
        message['subject'] = subject
        self._smtp.send_message(message)
Send mail and include the available keywords in the message.
Send mail and include the available keywords in the message.
Send mail and include the available keywords in the message .
def send(self, to_email: str, subject: str, contents: str) -> None:
        message = email.message.EmailMessage()
        message.set_content(f"{contents}\n\nKeywords: {list(self.keywords)}")
        message['to'] = to_email
        message['from'] = self._email
        message['subject'] = subject
        self._smtp.send_message(message)
def send ( self , to_email : str , subject : str , contents : str ) -> None : message = email . message . EmailMessage ( ) message . set_content ( f"{contents}\n\nKeywords: {list(self.keywords)}" ) message [ 'to' ] = to_email message [ 'from' ] = self . _email message [ 'subject' ] = subject self . _smtp . send_message ( message )
Send mail and include the available keywords in the message.
Send mail and include the available keywords in the message .
"""Send mail and include the available keywords in the message."""
self
to_email
str
subject
str
contents
str