bug: logo does not load automatically in email template
- 主要言語
- 言語のデータがありません
- スター
- 3
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Previously I tried to embed our logo in the SMTP email template, but it was not supported in Gmail.
Currently we link to the logo in the template.
https://github.com/coder/coder/blob/main/coderd/notifications/dispatch/smtp/html.gotmpl#L11
@mafredri suggested there may be other approaches to embedding images such as [CIDs](https://datatracker.ietf.org/doc/html/rfc2392). [This article](https://sendgrid.com/en-us/blog/embedding-images-emails-facts) from SendGrid (Apr 2024) suggests that CIDs may not work in Gmail reliably, but it's worth trying - or using multiple techniques together.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
リンク先の行にある coderd/notifications/dispatch/smtp/html.gotmpl から始め、RFC 2392 と参照されている SendGrid の記事を確認してください。Gmail で確実に機能する画像の埋め込み方法を調査してください。現在のリンクだけに依存せず、SMTP メールテンプレートでロゴが自動的に読み込まれれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100