• 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: Recycling Email Drafts in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recycling Email Drafts in Mail


  • Subject: Re: Recycling Email Drafts in Mail
  • From: Bill Briggs <email@hidden>
  • Date: Thu, 26 Mar 2009 22:49:48 -0300

At 1:56 PM -0400 3/26/09, James Cook wrote:
>I've got an AppleScript for Eudora that works for sending pre-written email to a recipient from my database.Is there a way to do this with Apple Mail? I want to save a Draft to use whenever, so the original needs to remain in Drafts, but I want to open, address and send a copy.
>
>Because I have multiple accounts, I can't seem to save into the Drafts folder itself. Mail has a separate folder for each within Drafts. In my case I'm trying to utilize a message in Drafts:Gmail
>
>Apple's Mail.app has Send Again available in the Message menu, but I found nothing in its library to indicate I can Send Again via AppleScript.
>
>Here's what works in Eudora. Rcpnt is assigned the value of the Email Address from my database. Fdbck returns with the AppleScript Result showing either the subject on a successful send, or the error on a failure.
>
>set Rcpnt to $«Email Address»$
>
>tell application "Eudora"
>	try
>		send again last message of mailbox "Templates"
>		set Fdbck to subject of message 0
>		set field "to" of message 0 to Rcpnt
>		queue message 0
>		set Fdbck to Fdbck
>	end try
>end tell

 I use Eudora and haven't scripted anything for Mail since first looking at it years ago, but... why do you care about crafting your new outbound message from a pre-written draft?  Mail doesn't have stationary either, so why not just put the guts of your frequently sent message right in a script, and then have the script make a new outbound message when you need it. You're already putting in the To and Subject fields, so just add the body of the message as well. Or is there some reason that won't work for you?

- web
 _______________________________________________
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: Recycling Email Drafts in Mail
      • From: James Cook <email@hidden>
    • Re: Recycling Email Drafts in Mail
      • From: Michelle Steiner <email@hidden>
References: 
 >Recycling Email Drafts in Mail (From: James Cook <email@hidden>)

  • Prev by Date: Re: Moving a file between two remote mounted volumes and maintaining creation / modification date
  • Next by Date: Re: Recycling Email Drafts in Mail
  • Previous by thread: Recycling Email Drafts in Mail
  • Next by thread: Re: Recycling Email Drafts in Mail
  • Index(es):
    • Date
    • Thread