• 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: visual email again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: visual email again


  • Subject: Re: visual email again
  • From: "Mr. Thomas Boardman" <email@hidden>
  • Date: Sun, 29 Mar 2009 21:57:14 -0400

I have setup a mail rule that when I get an email with the subject "picture" the rule runs a script that opens and runs an automator workflow and then sends out the snap shot in a new email message to a different email account of mine.
So if you setup a rule to filter your new emails couldn't you just have that rule run a script to run an automator workflow that is saved as an app that grabs the addressees email, your html file and create a new message that way? I also use Automator to check the upcoming week for birthdays and if finds one send a generic birthday message to the recipient.


I don't think what you are wanting to do is difficult but it may require multiple actions from different applications and/ or scripts to accomplish it.

Thomas A. Boardman
email@hidden
Sent Via MacBook Pro








On Mar 29, 2009, at 9:39 PM, Adam Morris wrote:

Actually, setting a mail filter to reply to a message is harder than it should be. This is due to a bug in Mail that fails (without even throwing an error!) if you try to "make new outgoing message" inside a mail rule. Apparently the issue is a threading one, and again is yet another reason why Mail is so freaking hard to script.

A solution that relies on Applescript alone (apparently you can also use launchd but I've never gotten that working), is to set up a "stay open" applescript bundle that polls your inbox every so often looking for unread messages that matches a particular criteria, then performs "make new outgoing message".

I have done this and there isn't any noticeable performance hit on the computer, but it's not the most elegant -- and even worse it isn't even intuitive nor documented. I spent a week working on a work-around for something that should be straight-forward! Although who ever said programming was straight-forward?

you can do it strictly with
rules, and won't need Applescript at all

Pray tell how that works!


I am using Mac mail and set up some rule to filter mails.
I would like to run some apple script that replies automatically
with html message automatically when filtered mail is received.
Can some body assist me how to send automatic mail when ever
filtered mail is availabel in my mail box?

Does it have to be HTML mail? If not, you can do it strictly with rules, and won't need Applescript at all.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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: visual email again
      • From: Adam Morris <email@hidden>
References: 
 >re: visual email again (From: Adam Morris <email@hidden>)

  • Prev by Date: re: visual email again
  • Next by Date: Re: visual email again
  • Previous by thread: re: visual email again
  • Next by thread: Re: visual email again
  • Index(es):
    • Date
    • Thread