can send html format email

This commit is contained in:
2022-03-07 22:48:37 +01:00
parent c512dd65a3
commit a7afe54c13
13 changed files with 134 additions and 10 deletions
+14
View File
@@ -0,0 +1,14 @@
class MailPojo:
email: str
def __init__(self, email: str):
self.email = email
@staticmethod
def from_firestore_dict(source):
email = source['email']
result = MailPojo(email=email)
return result
def __repr__(self):
return "email = " + self.email