Open mybooc opened 2 years ago
I should do research about it and then bring some results, if you have already approach implemented, please feel free to submit PR.
@mybooc, it this pull request related #204?
No, this issue is about setting (part of) the Message-ID of an email, a unique message identifier. If you do not supply it, the Message-ID is generated by the SMTP server:
The github email from you had the Message-ID:
<sabuhish/fastapi-mail/issues/143/1775233261@github.com>
Ah yes, I see. I thought maybe it was related because of the domain.
Set your own domain instead of the currently used local hostname.
MAIL_MSGID_DOMAIN: Optional[str] = None
Dynamically set your own 'msgid domain' together with the MailMsg parameters.
:param msgid_domain
Overrides MAIL_MSGID_DOMAIN parameter
Dynamically set the 'msgid' together with the MailMsg parameters.
:param msgid