• 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: Adding a message to a mailbox in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a message to a mailbox in Mail


  • Subject: Re: Adding a message to a mailbox in Mail
  • From: John Delacour <email@hidden>
  • Date: Tue, 1 Oct 2002 20:39:08 +0100

At 11:04 am -0700 1/10/02, cricket wrote:

You can't create new message objects and put them in mailboxes. I'm not sure exactly what you are wanting to do here. Mail's Applescript dictionary is intended to help automate typical user actions (create a new message and send it, move messages, get the data of a message and/or mailbox, set preferences, etc). What exactly are you wanting to do? If it's possible to do in Mail without Applescript, it's likely to be possible (or is planned for the future) in Applescript.

What he's probably trying to do is something that has been possible in Eudora for about ten years

-----
tell app "Eudora"
set data_ to "From: jd
To: email@hidden
Content-Type: text/html
Subject: How to be a happy mailer

<html><body><font size='+5' color='magenta' face='lucida grande'>
&#x395;&#x3c5;&#x3b4;&#x3c9;&#x3c1;&#x3b1;
</font></body></html>"
set msg_ to make message at end of mailbox "In" with data data_
activate
open msg_
send again msg_
end
-----


This has many uses. For example, one can create in Eudora an illustrated tutorial in the form of a mailbox containing styled messages, and this mailbox can be searched for anything using regular expressions, sorted according to topic etc. etc.


I'd like to know what this "typical Mail user" is. Unless his requirements are very few, he's going to be a sad man for a long time :-)


----->
Software Entomologist/Mail for Mac OS X email@hidden


Have you sorted out the bug where your <x-flowed> is putting two spaces at the end of the lines when you wrap them?

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Adding a message to a mailbox in Mail
      • From: cricket <email@hidden>
    • Re: Adding a message to a mailbox in Mail
      • From: "John C. Welch" <email@hidden>
References: 
 >Re: Adding a message to a mailbox in Mail (From: cricket <email@hidden>)

  • Prev by Date: [OT] BBC (was Re: Lookalikes...)
  • Next by Date: Re: Regex on OS X
  • Previous by thread: Re: Adding a message to a mailbox in Mail
  • Next by thread: Re: Adding a message to a mailbox in Mail
  • Index(es):
    • Date
    • Thread