Benches macOS

14

Stop iCal sending emails

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I had an instance where, when I modified an iCal event an invitation was sent a second time to an attendee - I did not want this to happen.

After this I removed the email address of the attendee to avoid this sort of thing happening again and they were promptly send a cancellation notice!

I was embarrassed when I had to send emails to the attendee explaining what the **** was going on.

To add to the embarrassment, the attendee told me that the emailed iCal event did not work for her. Probably she's using MS Office but I didn't want to look a complete idiot by asking about all that. She also said she hoped that the software I am going to demonstrate isn't as complicated... If I lose this deal, Apple, please pay me £20,000 in lost potential revenue.

There is no option to stop invitations by email.

I found a thread here:
http://discussions.apple.com/thread.jspa?threadID=1515457&tstart=-1 but that was closed with no solution.

However, after reading the thread, it gave me an idea. I simply removed my email addresses from my Address Book entry (iCal uses this to send invitations).

Now, when I add events with attendees, iCal informs me that it cannot send the email because it doesn't have an email account to send from. I then cancel that dialogue and the event is saved as normal.

Unfortunately this means that no invitations can be sent out, but this is preferable to the performance I had to go through in manually sending emails to correct unexpected iCal behaviour.

Additionally, I use several email accounts for the different business hats I wear. Therefore it would be very sensible of Apple if they could add an option to send invitations or not, and also to send the invitation from whichever account I choose.

Hope this helps some poor souls out there.

Message was edited by: Rob_Droitwich

Message was edited by: Rob_Droitwich

14 replies

Sign in or join Beachball Help to reply.

  1. 0

    Matt Dyson

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Any resolution to this?

    Posting almost a year past this to date.

    There must be some way to disable this??

  2. 0

    gdadhemar

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for the suggestion. I am also trying to work this out in some form or another.

    Basically, I am trying to figure out how to customize what iCal sends out. It's frustrating that there isn't a way to at least moderately adjust the email that gets sent. I would like the option of including the event notes to the email.

    This is particularly frustrating because when the invitation is received on an iPhone there is no way to view the attachment.

  3. 0

    John Maisey

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi,

    I wrote
    iCal Reply Checker to help with this sort of problem.

    It is not yet updated fro Snow Leopard, but I'm working on it. I'd like to know if you have any feature requests for it.

    Best wishes

    John M

    As I sell software on my site and ask for donations, the Apple Discussions Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  4. 0

    gdadhemar

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks John. That worked beautifully. Looking forward to the 10.6 update.

  5. 0

    john queensland

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I am having similar problems with iCal after installing Snow Leopard, even after download upgrades.

    Just now I changed two events - the ask option came up to send or not send notice of change - I selected don't send - and presto - notices were sent.

    Like you, Rob I am finding this very frustrating and embarrassing to explain to my clients that Apple is a bit rotten

    John

  6. 0

    csytsma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Back in 10.4.x Tiger, you were able to edit the Mail.applescript file (found if you Show Package Contents for iCal.app), and comment out the 'send mail' line in the applescript file. I actually had it always show the composed email, but not send automatically, so I could either cancel the email, or edit it with my own comments prior to sending.

    In 10.6, there is a comment now in the Mail.applescript file that says it isn't used directly, but a compiled version of it is used in iCal, and you have to manually compile it back in. I haven't figured out yet if this is possible. I've edited the Mail.applescript and Mail.scpt files, but no luck.

  7. 0

    John Maisey

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi,

    Apple moved the relevant file in OSX 10.5 to the
    Scripts folder in iCal's
    Resources folder. If you don't know what you're doing, I'd be very careful changing things inside Application packages.

    I wrote *iCal Reply Checker* to take all the messy stuff out of doing this with a simple interface. It's now updated for Snow Leopard as shareware and has a ten day demo. See here:

    http://discussions.apple.com/thread.jspa?messageID=10256493&#10256493

    Best wishes

    John M

  8. 0

    csytsma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Unfortunately, I need this for my corporate Exchange account. My friends I'm not worried about spamming with Decline messages, but customers and managers aren't nearly as forgiving.

    John, any plans on extending iCal Reply Checker to override the calls to Exchange and prevent the emails? I'm amazed that Apple would not provide the ability to not send these emails. It's impossible to clean-up any old meetings now. Or I guess I can unplug from the network when doing this, so the email calls don't get made. But that's less than elegant.

  9. 0

    dmstone

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yeah, I'm a long time ical reply checker user, unfortunately it died for me with SnowLeopard, I was so excited to see it updated but then learned it won't work with exchange...

    Are there ANY solutions to this? I have tons of exchange invites that I do not want to send a response to a variety of reasons.. for now the only thing I can do is not accept at all, but that really messes up my calendar views for my colleagues who want to schedule meetings because they don't know which ones I'm actually attending or not.

  10. 0

    jespersoholm

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm still on 10.5.8 and the problem persists.

    I have semi-solved it by making a minor change in the AppleScript file. I'm no AppleScript-guru, so all I could do, was to stop the automatic sending of invitations. On the other hand I didn't want to disable the function altogether, so I just let it create the mail and bring it to the front without sending it. Then it's easy to delete, edit og send it immediately.

    Heres the simple recipe:

    0) Close iCal.

    1) Open /Applications/iCal.app/Contents/Resources/Scripts/Mail.scpt

    (You will have to right-click the iCal.app file to open (or show) "content of package" in Finder.)

    2) Before you do, please right-click the file and choose compress "Mail.scpt" to make a zip-backup in case something goes wrong.

    3) Right-click the Mail.scpt and choose to open in Script Editor.

    4) Make the changes (se code below).

    5) Press the compile button

    6) Close window and save changes on exit.

    7) Open iCal and test it by making changes to an event with a participant-email attached.

    Basically, all I've done is to change the 2 occations of:

    send mymail

    with

    activate -- line added

    -- send mymail

    That is: out commententing out "send mymail" and adding the command activate to bring the email-window to the front.

    It would be great if somebody could make a dialog that prompts you, if

    a) the changes should be emailed in the background

    b) a mail prepared (like in my example) or simply dis

    c) changes should not be emailed at all

    Untill then I will have to live with this somewhat crude solution.

    🙂

    /jesper

    Here's the altered AppleScript:

    -- Mail.applescript

    -- iCal

    on show
    mailsbrs(subjectLine, messageText, myrecipients)

    tell application "Mail"

    set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})

    repeat with i from (count of myrecipients) to 1 by -1

    tell mymail to make new to recipient at beginning of to recipients with properties {address:(item i of myrecipients)}

    end repeat

    set visible of mymail to true

    activate

    end tell

    end show
    mailsbrs

    on show
    mailsbr(subjectLine, messageText, myrecipient, myrecipientname)

    tell application "Mail"

    set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})

    tell mymail to make new to recipient at beginning of to recipients with properties {address:myrecipient, name:myrecipientname}

    set visible of mymail to true

    activate

    end tell

    end show
    mailsbr

    on send
    mailsb(subjectLine, messageText)

    tell application "Mail"

    set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})

    set visible of mymail to true

    activate

    end tell

    end send
    mailsb

    on send
    mailsbr(subjectLine, messageText, myrecipient, myrecipientname)

    tell application "Mail"

    set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})

    tell mymail to make new to recipient at beginning of to recipients with properties {address:myrecipient, name:myrecipientname}

    set visible of mymail to true

    activate -- line added

    -- send mymail

    end tell

    end send
    mailsbr

    on send
    mailsbrp(subjectLine, messageText, myrecipient, myrecipientname, invitationPath)

    set pfile to POSIX file invitationPath

    set myfile to pfile as alias

    tell application "Mail"

    set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})

    tell mymail to make new to recipient at beginning of to recipients with properties {address:myrecipient, name:myrecipientname}

    tell mymail

    tell content

    make new attachment with properties {file name:myfile} at after the last word of the the last paragraph

    end tell

    end tell

    set visible of mymail to true

    activate -- line added

    -- send mymail

    end tell

    end send
    mailsbrp

    on send
    mailsbp(subjectLine, messageText, invitationPath)

    set pfile to POSIX file invitationPath

    set myfile to pfile as alias

    tell application "Mail"

    set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})

    tell mymail

    tell content

    make new attachment with properties {file name:myfile} at after the last word of the the last paragraph

    end tell

    end tell

    set visible of mymail to true

    activate

    end tell

    end send
    mailsbp

    property ASDScriptUniqueIdentifier : "Mail.applescript"

  11. 0

    RideauSkater

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Interesting but unfortunately it does not seem to work the same way in 10.6.2.

    I edited the file as written above, compiled and copied back in Resources/Scripts and it won't let me edit or cancel emails... Maybe it's an Exchange thing.

    I ended up simply removing the Exchange account from iCal and I'll be handling my calendar manually from now on. It,s quite intriguing that Apple does not at least let the user configure those annoying email notifications.

  12. 0

    Community User

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks John Maisley, iCal reply checker solves this nicely!

    I just donated 🙂

    (Althoug Apple should really fix this natively)

  13. 0

    jaqkar

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I posted something here that might help others: http://blog.splide.com/2010/03/stop-ical-email-notifications.html

  14. 0

    jd2020

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    John Maisley's iCal Rely Checker works great for me. Well worth the price.

    But I agree with heikohaller, Apple should provide some basic settings for this.