• 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: [List Suggestion] Set the "Reply To" Header to the List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [List Suggestion] Set the "Reply To" Header to the List


  • Subject: Re: [List Suggestion] Set the "Reply To" Header to the List
  • From: Phil Stokes <email@hidden>
  • Date: Fri, 01 Jan 2016 21:22:36 +0700

On 1 Jan 2016, at 9:20 PM, S. J. Cunningham <email@hidden> wrote:

I am constantly hitting "Reply" and inadvertently sending the message to the original poster rather than to the list.  I know I am not the only one plagued by this.  Would it be possible for the list manager to add a "Reply To" header that points to the list?


Well, you could always script your way around the problem. Make a Service with ‘command-option-control-R’, perhaps?

tell application "Mail"
activate
set theMessage to item 1 of (get selection)
set replyToList to reply theMessage reply to all "true"
end tell



The only problem I have with using the “reply” verb is it doesn’t let you set the recipient to *only* the list, and I don’t like doubling up on replies. 
One way round it would be this:



tell application "Mail"
set theMessage to item 1 of (get selection)
set theContent to theMessage's content
set originalSubLine to theMessage's subject


if rich text 1 thru 3 of originalSubLine contains "Re:" then
set theSubject to originalSubLine
else
set theSubject to "Re: " & originalSubLine
end if


set replyToList to make new outgoing message with properties {subject:theSubject, content:theContent}


tell replyToList


make new to recipient at end of to recipients with properties {name:"AS User List", address:"email@hidden"}
end tell


end tell




However, the drawback here is that it seems to lose all the rich text formatting and quotation indenting. 
Perhaps someone can find a way round that?



Best



Phil
 _______________________________________________
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

References: 
 >[List Suggestion] Set the "Reply To" Header to the List (From: "S. J. Cunningham" <email@hidden>)
 >Re: [List Suggestion] Set the "Reply To" Header to the List (From: Shane Stanley <email@hidden>)
 >Re: [List Suggestion] Set the "Reply To" Header to the List (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: [List Suggestion] Set the "Reply To" Header to the List
  • Next by Date: Re: [List Suggestion] Set the "Reply To" Header to the List
  • Previous by thread: Re: [List Suggestion] Set the "Reply To" Header to the List
  • Next by thread: Re: [List Suggestion] Set the "Reply To" Header to the List
  • Index(es):
    • Date
    • Thread