Wanderlustで添付した画像ファイルが携帯で見えない問題
Wanderlust で画像ファイルを添付して携帯電話に送信しても、何も添付されていないように見える問題が発生して困っていた。いろいろ試行錯誤して、やっと原因が分かった。
Wanderlust(正確にはSEMI)で作成したMIMEヘッダはこのようになっている。
Content-Type: image/jpeg Content-Disposition: inline; filename="hoge.jpg" Content-Transfer-Encoding: base64
一方、ちゃんと添付画像が見えるメールは、こうなっている。
Content-Type: image/jpeg; name="hoge.jpg" Content-Disposition: attachment; filename="hoge.jpg" Content-Transfer-Encoding: base64
Content-Typeの name parameter が怪しい。しかし、どうやってこれを追加するんだろう?
perm link: http://yamashita.dyndns.org/blog/problem-that-attached-image-file-by-wanderlust-cant-be-seen/









