mirror of
https://github.com/simple-login/app.git
synced 2025-10-01 02:48:44 +08:00
fix test
This commit is contained in:
parent
d3985e2cf3
commit
c2546cb0de
2 changed files with 8 additions and 5 deletions
|
@ -541,3 +541,5 @@ class ForwardEmail(db.Model, ModelMixin):
|
||||||
# this reply email is created every time a website sends an email to user
|
# this reply email is created every time a website sends an email to user
|
||||||
# it has the prefix "reply+" to distinguish with other email
|
# it has the prefix "reply+" to distinguish with other email
|
||||||
reply_email = db.Column(db.String(128), nullable=False)
|
reply_email = db.Column(db.String(128), nullable=False)
|
||||||
|
|
||||||
|
gen_email = db.relationship(GenEmail)
|
||||||
|
|
|
@ -136,6 +136,7 @@ class MailHandler:
|
||||||
return "250 Message accepted for delivery"
|
return "250 Message accepted for delivery"
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
controller = Controller(MailHandler(), hostname="localhost", port=20381)
|
controller = Controller(MailHandler(), hostname="localhost", port=20381)
|
||||||
|
|
||||||
controller.start()
|
controller.start()
|
||||||
|
|
Loading…
Add table
Reference in a new issue