-
Notifications
You must be signed in to change notification settings - Fork 332
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
feat: Add arbitrary header overrides for attachments #631
feat: Add arbitrary header overrides for attachments #631
Conversation
This allows bamboo adapters to be accept overriding headers for special use cases. Updates to those adapters would be required to use this functionality. For e.g., in the specific use-case of adding inlined attachments, some special case headers are required. Now it's possible to add `X-Attachment-Id` and override the Content-Disposition header with `inline` to permit the proper display of inlined content, without an email client showing them as explicit attachments for the user to download.
Hi @jarrodmoldrich! Now that BEAM Community is taking over Bamboo we're working through these older PRs. Would you like to update this PR or should we close? |
@doomspork Hi there! I probably won't be testing this against SES as I've retired the infra I was using, but I'll get the PR up-to-date and to a working state in the coming weeks. |
Amazing, thank you @jarrodmoldrich! |
…aders Keep headers: key/value in tests after merge conflict
@doomspork This is ready for another look (assuming it passes your CI) |
This pull request has been automatically marked as "stale:discard". If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated!. |
@doomspork Has this work been deprecated? I did update the PR but received no feedback on it. |
This allows bamboo adapters to be accept overriding headers for special
use cases. Updates to those adapters would be required to use this
functionality.
For e.g., in the specific use-case of adding inlined attachments, some
special case headers are required. Now it's possible to add
X-Attachment-Id
and override the Content-Disposition header withinline
to permit the proper display of inlined content, without anemail client showing them as explicit attachments for the user to
download.
Closes #502 #430
Related PRs:
kalys/bamboo_ses#43
DockYard/elixir-mail#137