• 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: Vacation Mail script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vacation Mail script


  • Subject: Re: Vacation Mail script
  • From: Walter Ian Kaye <email@hidden>
  • Date: Tue, 23 Mar 2004 19:24:48 -0800

At 08:02p -0700 03/23/2004, Michelle Steiner didst inscribe upon an electronic papyrus:

Vacation mail is nice, but some implementations of it result in repeated mailings to individuals or lists.

If mail.app would have a rule that would add an address to an address group, creating one-time vacation mails would be a snap, but it doesn't--but you can script it to do that.
[snip]
to parse_the_sender(sender_string)
set {tid, text item delimiters} to {text item delimiters, {"<"}}
set email_sender to text item 2 of the_sender
set text item delimiters to tid
set email_sender to text 1 through -2 of sender_email
return email_sender
end parse_the_sender

Won't that fail on addresses of the form 'user@domain (name)'?
Or does Mail munge addresses into just one form?

My body is not a democracy: you don't get a vote.

And if we did, would there be primaries or just a general election? ;)


-boo
whose electoral, etc. views are available at /walter/personal.html
(no one's actually going to go look, are they? LOL)
_______________________________________________
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: Vacation Mail script
      • From: Michelle Steiner <email@hidden>
References: 
 >Vacation Mail script (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Vacation Mail script
  • Next by Date: Re: Vacation Mail script
  • Previous by thread: Vacation Mail script
  • Next by thread: Re: Vacation Mail script
  • Index(es):
    • Date
    • Thread