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

配信されるメールに必要なHeaderが不足している #198

Open
marokiki opened this issue Mar 7, 2025 · 0 comments
Open

配信されるメールに必要なHeaderが不足している #198

marokiki opened this issue Mar 7, 2025 · 0 comments

Comments

@marokiki
Copy link

marokiki commented Mar 7, 2025

確認している不足Header

  • Date
  • Message-ID
  • MIME_VERSION

Date, Message-ID

postfixでつけられるはず
なぜ付いていないのかは不明
メーラ(Thunderbird)から送信したメールには付加されている

MIME_VERSION

msg := "" +
"Content-Type: text/plain; charset=\"UTF-8\"\r\n" +
"From:" + from.String() + "\r\n" +
"To:" + to.String() + "\r\n" +
encodeSubject(d.Subject) + "\r\n" +
"\r\n" + d.Content + "\r\n"

"MIME-Version: 1.0\r\n" +

を追加すれば良いように思える

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

1 participant