Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Select Mail.app sender for iCal invitations and replies Apps
One thing that irks me about the iCal.app / Mail.app integration on OS X is that iCal chooses (based on some unknown criteria and without user input) the sending address (and hence account) from which to email invitations and responses to invitations.

Since I have multiple calendars and multiple email accounts, it is often that I want to choose the specific account when sending an invitation or replying to an invitation. This 40KB tar file contains the iCal AppleScript changes necessary to create an account selection box prior to sending these emails. Once a sending address is selected and OK is clicked, Mail.app will proceed with sending the iCal invitation, or replying from the account corresponding to the chosen email address. Here's how to install the modified code.

First, quit iCal and create a backup. You can do that however you wish; here's a version that uses Terminal to first copy iCal, then create a disk image of the backup: Move this DMG file somewhere safe, and then extract the modified AppleScript files (from the tar file you downloaded) directly into the iCal application bundle. This assumes iCal.app is in /Applications, and LeopardiCalSelectSender-20071127.tar is in ~/Desktop:
$ cd /Applications
$ tar xvf ~/Desktop/LeopardiCalSelectSender-20071127.tar
Run iCal.app, send an invitation and reply to one, and test out the ability to select the sender for the outgoing Mail.app email. Note that you can read the original version of this hint in this post on my blog.

[robg adds: I tested this one, and it works as described. I chose to implement it in a slightly different manner, though -- I duplicated iCal in the Finder, expanded the tar archive by hand, then just replaced the relevant files in my duplicated iCal (in the bundle in Contents » Resources and Contents » Resources » Scripts folders). After testing the modifications, I could then (if I regularly used the invitations feature) archive the original application and rename my duplicate.]
    •    
  • Currently 3.29 / 5
  You rated: 5 / 5 (7 votes cast)
 
[25,769 views]  

Select Mail.app sender for iCal invitations and replies | 9 comments | Create New Account
Click here to return to the 'Select Mail.app sender for iCal invitations and replies' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Select Mail.app sender for iCal invitations and replies
Authored by: zwily on Oct 31, '08 10:54:21AM

Awesome - although I think I'd modify the scripts to automatically choose different email accounts based on the calendar of the event.



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: nrosier on Nov 23, '08 01:50:38PM

robg would you care to share your changes. I would like to use my home-address for my home-calendar and my work for work-calendar.
Thanks,
N.



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: poleary2000 on Oct 30, '09 09:13:01PM

Will this work with Snow Leopard? I've been looking EVERYWHERE for a solution like this. I really want to implement it.



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: bengber on Jan 12, '10 12:41:40PM

To set the mail account used, go to your Address book entry ("Me") and delete all email addresses except the one you want. Then save. Then add the other ones back.

This will set the correct SMTP server and correct CN in the .ics file. Of course, you still can't choose on a case by case basis, but this will at least get you using a reasonable default address.

(BTW -- I'd argue the "correct" solution is not to prompt each time but to allow different defaults for different calendars.)

Edited on Jan 12, '10 12:42:51PM by bengber



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: mbx on Jan 19, '10 11:44:29AM

Hi! Did someone test this for Snow Leopard



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: Begemotike on Jan 20, '11 12:44:51PM

Actually, I had occasion to test it today for a client, and it worked out great. We ended up not using it so I don't know if there were any bugs created by the change in the long term.

For the record, the easiest way to do it is pretty much as Rob described. I zipped an archive of iCal, opened up the package, opened Resources, and then simply copied the contents of Resources inside the package found in the .tar file into the existing iCal resources folder. Definitely important to make that zipped backup, or some other type of backup, first!



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: jocamero on Feb 05, '12 12:06:08PM

Why did you not choose to implement this solution? What did you do instead?



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: jocamero on Feb 05, '12 12:14:35PM

Looks like the author pulled the .tar file. Anyone mind sharing a link to an updated solution?



[ Reply to This | # ]
Select Mail.app sender for iCal invitations and replies
Authored by: ReKa on Feb 21, '12 07:51:25AM

I tried an old version I used for Leopard with Lion 10.7.3 without any changes.
It seems to work fine!



[ Reply to This | # ]