Re: saving Mail messages as ?
Re: saving Mail messages as ?
- Subject: Re: saving Mail messages as ?
- From: Takaaki Naganoya <email@hidden>
- Date: Sat, 2 Sep 2017 18:53:57 +0900
> 2017/09/02 16:45、Jean-Christophe Helary
> <email@hidden>のメール:
>> On Sep 2, 2017, at 7:36, Bob Stern <email@hidden> wrote:
>> On Aug 25, 2017, at 5:11 PM, Jean-Christophe Helary
>> <email@hidden> wrote:
>>> What I'd like to do is save a Mail message to something in Finder that I
>>> can later open so that Mail considers that as a message and I can
>>> applescriptly reply to it.
>> Each message in Mail is a distinct .emlx file having the characteristics you
>> require. You don’t need to convert, export or save it to another format.
> 99% of my jobs come as mails and for archival purpose I save each mail in a
> separate job folder. When I deliver the job I open that saved mail from
> Finder and reply to it with the deliverable attached.
>
> I can do that manually. Now I’d like to do that automatically and it happens
> that the saved mail, once opened can't me replied to because Mail does not
> consider it as a "message".
You can get message source from each message. Source is an encoded string. You
can save it as you like.
We can access the saved message source via MailCore2.framework (without using
Mail.app).
—Get mail source and parse each mail attributes by using MailCore2
http://piyocast.com/as/archives/4406
—Read eml file using MailCore2
http://piyocast.com/as/archives/4397
—Get attached files from eml file using MailCore2
http://piyocast.com/as/archives/4400
Takaaki Naganoya
--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/
_______________________________________________
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