• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mail attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail attachments


  • Subject: Re: Mail attachments
  • From: Christopher Stone <email@hidden>
  • Date: Thu, 31 Dec 2015 18:38:27 -0600

On Dec 31, 2015, at 05:06, Yvan KOENIG <email@hidden> wrote:
All the messages behaving wrongly have only JPEG or PDF attached files.
When I look at their properties, in all messages I found :
Content-Type: multipart/mixed;
Content-Type: text/html;
…
In message behaving wrongly I saw:
Content-Type: APPLICATION/PDF; -- SCAN_2015_12_08_162807.pdf
they have a property : Content-Disposition: ATTACHMENT;
______________________________________________________________________

Hey Yvan,

I'll have to test with a PDF next.

My current iCloud test is a 400+K jpg.

It does NOT have ANY header that says attachment.

The first Content-type header is:

Content-type: multipart/alternative;

But there are several, since there is mixed content (text & jpg).

Here's the jpg-related stuff:

Content-Transfer-Encoding: BASE64
Content-Disposition: INLINE;
filename="Screen Shot 2015-12-30 at 12.13.57.jpg"
Content-Type: IMAGE/JPEG;
name="Screen Shot 2015-12-30 at 12.13.57.jpg";
x-mac-hide-extension=yes;
x-unix-mode=0644

As I suspected this is registered as INLINE content.

I'll test with a PDF in a bit to see if it's the same.

While testing I found another terrible bug:

If I get the SOURCE of this problematic message with AppleScript it does not produce the same source as Mail's 'Raw Source' command.

Get source using AppleScript: 5015 characters
Get source using Mail's Raw Source Command:   620031 characters

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mail attachments
      • From: Christopher Stone <email@hidden>
References: 
 >Rép: Mail attachments (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Where Do Apple Event Log Entries Go if not Running in a Script Editor?
  • Next by Date: Re: Where Do Apple Event Log Entries Go if not Running in a Script Editor?
  • Previous by thread: Re: Mail attachments
  • Next by thread: Re: Mail attachments
  • Index(es):
    • Date
    • Thread