• 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
To Claris Emailer users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

To Claris Emailer users


  • Subject: To Claris Emailer users
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 7 Feb 2001 21:33:19 -0800

If there are any of us left here (besides me, that is).

Are you tired of receiving mail that is in HTML format? I'm not
referring to multipart-MIME that has an HTML component or an HTML
attachment plus text content, but mail that is completely blank and has
an HTML attachment containing the entire message.

If you don't want to be bothered with those messages, and want to let
their senders know, create a mail action to run this script; make sure
that it is the first mail action that is run.

--Michelle

set replycontent to "This is an automated reply.

Your email was in HTML format. Because of security considerations, I do
not open HTML-only email.
Please resend your message in text-only format, or if you are sending a
web page, please send
the URL.

Thank you."

set rejectlist to {".html", ".htm", ".asp", ".jsp"} --add suffixes as
needed

tell application "Claris Emailer"
set the rejectedmessage to the filtered message
if the content of the rejectedmessage is "" then
set filelist to files of the rejectedmessage
if filelist is not {} then
repeat with currentfile in the filelist
set fileName to name of the currentfile
repeat with testphrase in the rejectlist
if (offset of testphrase in fileName) is not 0 then
set replyMessage to reply to the rejectedmessage ,
without replying to all
set content of replyMessage to replycontent
repeat with filetobedeleted in thefilelist
tell application "Finder" to delete file filetobedeleted
end repeat
delete the rejectedmessage
exit repeat
end if
end repeat
end repeat
end if
end if
end tell

----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: To Claris Emailer users
      • From: John W Baxter <email@hidden>
  • Prev by Date: Re: Modeless floating alert with yellow background
  • Next by Date: Re: Scripting Eudora
  • Previous by thread: Re: Modeless floating alert with yellow background
  • Next by thread: Re: To Claris Emailer users
  • Index(es):
    • Date
    • Thread