Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting of msgid and msgid domain #143

Open
mybooc opened this issue Aug 23, 2022 · 4 comments
Open

Allow setting of msgid and msgid domain #143

mybooc opened this issue Aug 23, 2022 · 4 comments

Comments

@mybooc
Copy link

mybooc commented Aug 23, 2022

  1. Extra 'msgid domain' ConnectionConfig parameter

Set your own domain instead of the currently used local hostname.

MAIL_MSGID_DOMAIN: Optional[str] = None

  1. Extra 'msgid domain' MailMsg parameter

Dynamically set your own 'msgid domain' together with the MailMsg parameters.

:param msgid_domain

Overrides MAIL_MSGID_DOMAIN parameter

  1. Extra 'msgid' MailMsg parameter

Dynamically set the 'msgid' together with the MailMsg parameters.

:param msgid

@sabuhish
Copy link
Owner

sabuhish commented Oct 2, 2022

I should do research about it and then bring some results, if you have already approach implemented, please feel free to submit PR.

@LuckyLub
Copy link

@mybooc, it this pull request related #204?

@mybooc
Copy link
Author

mybooc commented Oct 23, 2023

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/[email protected]>

@LuckyLub
Copy link

Ah yes, I see. I thought maybe it was related because of the domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants