{"id":36362,"date":"2022-06-27T16:11:55","date_gmt":"2022-06-27T20:11:55","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=36362"},"modified":"2022-06-27T16:11:55","modified_gmt":"2022-06-27T20:11:55","slug":"exporting-archiving-e-mail-from-apple-mail","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/06\/27\/exporting-archiving-e-mail-from-apple-mail\/","title":{"rendered":"Exporting\/Archiving E-mail From Apple Mail"},"content":{"rendered":"<p><a href=\"https:\/\/tinyapps.org\/blog\/202206140700_mail-app-export.html\">Miles Wolbe<\/a>:<\/p>\n<blockquote cite=\"https:\/\/tinyapps.org\/blog\/202206140700_mail-app-export.html\"><p>Mail&rsquo;s built-in export (and import) methods suffer from various limitations and bugs; the following tests were run under macOS 12.4 and Mail 16.0[&#8230;]<\/p><\/blockquote>\n\n<p>Of course, I recommend <a href=\"https:\/\/c-command.com\/eaglefiler\/\">EagleFiler<\/a> for this, which offers a <a href=\"https:\/\/c-command.com\/eaglefiler\/help\/importing-mail-from-app\">variety<\/a> of ways of importing from Apple Mail.<\/p>\n\n<blockquote cite=\"https:\/\/tinyapps.org\/blog\/202206140700_mail-app-export.html\"><p>1. Mailbox &#x2192; Export Mailbox...<\/p><\/blockquote>\n\n<p>I&rsquo;m not sure what&rsquo;s causing the importing problem that he mentions, but historically the <strong>Export Mailbox&#8230;<\/strong> command has not generated valid mbox files. I have not seen the &ldquo;some messages could not be imported&rdquo; error when importing properly formed mbox files, such as those generated by EagleFiler.<\/p>\n\n<blockquote cite=\"https:\/\/tinyapps.org\/blog\/202206140700_mail-app-export.html\"><p>2. Click and drag multiple messages from Mail to Finder<\/p><\/blockquote>\n\n<p>You can also do this to export messages from EagleFiler, if you want to convert them from mbox to .eml format. Unlike Mail it doesn&rsquo;t fail for messages with long subjects.<\/p>\n\n<blockquote cite=\"https:\/\/tinyapps.org\/blog\/202206140700_mail-app-export.html\"><p>3. AppleScript<\/p><\/blockquote>\n\n<p>Many scripts, such as the mentioned <a href=\"http:\/\/dflect.net\/bulk-export-selected-mails-from-apple-mail\/\">Export Selected Mail Messages<\/a>, will corrupt message data because they don&rsquo;t properly handle a bug\/oddity in Mail&rsquo;s AppleScript support. Mail types the <code>source<\/code> AppleScript property as <code>text<\/code> when really it should be treated as raw data. If the script retrieves the source as a Unicode string and then writes it to a file, the non-ASCII bytes will be altered.<\/p>","protected":false},"excerpt":{"rendered":"<p>Miles Wolbe: Mail&rsquo;s built-in export (and import) methods suffer from various limitations and bugs; the following tests were run under macOS 12.4 and Mail 16.0[&#8230;] Of course, I recommend EagleFiler for this, which offers a variety of ways of importing from Apple Mail. 1. Mailbox &#x2192; Export Mailbox... I&rsquo;m not sure what&rsquo;s causing the importing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-06-27T20:11:57Z","apple_news_api_id":"22672a25-70eb-4bce-bc3c-3bff681b84fe","apple_news_api_modified_at":"2022-06-27T20:11:57Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AImcqJXDrS868PDv_aBuE_g","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[126,159,131,150,595,30,2077,258],"class_list":["post-36362","post","type-post","status-publish","format-standard","hentry","category-technology","tag-applemail","tag-applescript","tag-bug","tag-email","tag-eaglefiler","tag-mac","tag-macos-12","tag-unicode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=36362"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36362\/revisions"}],"predecessor-version":[{"id":36363,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36362\/revisions\/36363"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=36362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=36362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=36362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}