<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takahashikzn</author_name>
  <author_url>https://blog.hatena.ne.jp/takahashikzn/</author_url>
  <blog_title>R42日記</blog_title>
  <blog_url>https://takahashikzn.root42.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>久しぶりにJavaMailをゴニョゴニョやってますが、 近頃は添付ファイルのファイル名がマルチバイトでも苦労しないで済むんですねぇ。単に、 static { System.setProperty(&quot;mail.mime.encodefilename&quot;, &quot;true&quot;); System.setProperty(&quot;mail.mime.charset&quot;, &quot;UTF-8&quot;); } なんてやっておけば、 あとはフツーにMimeBodyPart#setFileName(String)でマルチバイト文字列を渡しても ------=_Part_0_29494755.1328778483115 Content-T…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakahashikzn.root42.jp%2Fentry%2F20120209%2F1328778575&quot; title=&quot; JavaMailでマルチバイト添付ファイル名 - R42日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-09 18:09:35</published>
  <title> JavaMailでマルチバイト添付ファイル名</title>
  <type>rich</type>
  <url>https://takahashikzn.root42.jp/entry/20120209/1328778575</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
