Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

When does iCal server send email invitations?

We've upgraded from OS X Server 10.5 to 10.6 and are testing the new iCal Server features.

See my main 3 questions at the bottom of this post.

*The manual iCal Server_Adminv10.6.pdf says:*
+Mail notifications:+
+Event attendees without calendar accounts can now receive a+
+mail message that provides event invitation information.+

Brief:
This is the problem. Email invitations are not sent.

*Info about current settings and system versions:*
Server version: OS X 10.6.5
My client version: OS X 10.6.5 and iCal Version 4.0.4 (1395)
Other client versions: Mixed 10.5 and 10.6 with latest iCal version for their systems.

Only myself and one colleague are set to be allowed access to iCal in Server Admin under Access.

We host our work email with an external host.
Mail is running on our own server, but we do not use it for anything other than email invitations.
+Note: I've tested email invitations both with the servers own email service and with our external email host. The result is the same.+

Server domain: server.myserver.net
Externally hosted email: @mycompany.dk
Internally hosted email: @mycompany.org

We own all domains and email is tested and working fine both on external .dk host and our servers .org email host.

Our work email @mycompany.dk is entered nowhere in iCal, Mail or DNS settings on the server. The only place the users emails are sometimes entered on the server, is under info in Workgroup manager.

Email invitations are in every test case sent to users with gmails, hotmails and other private emails. No problem there. I also get their replys to events i my desktop iCal.

+So I guess the settings on the server for sending and receiving email invitations seem to be ok?+

*Main problems:*
1. Mails are not always sent to users with a company email address like mycolleague@mycompany.dk
In one occasion an invitation was sent by email to a user, when I used the users alternative login name for the externally hosted email.
Users alias email is: colleague@mycompany.dk
Users real email login is colleagueusername@mycompany.dk

Sending an iCal invitation to colleagueusername@mycompany.dk worked. I haven't testet this with other users.

2. When a colleague in our company invites me to a meeting via his desktop iCal, I get the invitation. But they never get my answer. Not silently via the servers push notification nor via a 10.5-style email. In my own iCal my status is ticked off as green.

*Extra problems:*
3. Syncing a calendar with meetings with the server.
I have several calendars in my desktop iCal. And all but one sync perfectly with the server and my iPhone. I have one separate calendar for meetings. And that calendar often has problems syncing. This is the only calendar that has invitations in it.

When automatical syncing occurs, I get an error saying:
The server responded with
"HTTP/1.1 500 Internal Server Error"
to operation CalDAVWriteEntityQueueableOperation.

As far as I remenber I sometimes get other errors too.

It sometimes looks like when there are too many new things to sync, I get an error. Reverting to server will delete the event. And when I recreate it exactly they way it was before, can often fix the problem. But with this bug, we can't implement iCal server to other than expert users.

4. When I'm inviting colleagues to a meeting, why do I see when they are available, when they are not enabled to acces iCal in Server Admin?

Log:
iCal servers log level is set to debug. I see no erros in the log. But then again, I'm no expert in reading logs. Any hint on what I should look for?

*The iCal Server_Adminv10.6.pdf manual also says:*
+Enabling Mail Notifications to Attendees:+
+Attendees can be invited via email if they don’t have an iCal Server account. Mail+
+notification is not available for users with iCal Server access on the calendar service.+

+When an event attendee is added by email address and the host name of the email+
+address is not the same host name as the calendar server, iCal Server can send a+
+message to the attendee with the event information. iCal Server must have its mail+
+account in the mail system.+

*But to sum up:* Even though users are not enables to have acces to iCal on the server, they do not receive an invitation by email.

Questions:
1. When does iCal server send email invitations?
2. How do I control when an email invitation is sent?
3. Is there a way to ensure that an email invitation is sent every time, no matter who the invited person is and what email they use.

MacBook Pro, Mac OS X (10.6.5)

Posted on Dec 28, 2010 7:14 AM

Reply
6 replies

Jan 4, 2011 11:29 AM in response to ryanowich

The way this works is:

The client (iCal) sends an email address, say fred@mycompany.dk.

iCal Server then checks to see if that email address corresponds to a known user in the directory.

If it can find fred@mycompany.dk in OD, then it will deliver a CalDAV message to that user. (Exception: if there are two different user records with the same email address, it doesn't know which one to use, so this counts as not finding it.)

If it can't identify a user record with that email address, it sends an iMIP invitation via email.

Feb 14, 2011 5:04 PM in response to wsanchez

I'm a few steps further towards a working iCal server now. Your answer clarified a lot.

User on iCal server:
Invitations are sent via com.apple.calendarserver@mycompany.com. Both to invitees on same email domain and to external invitees.

When I (user on iCal server) am invited by someone not on our iCal server, I get the invitation via Mail.app and iCal local reads it. And I'm able to reply, and my reply status updates in my local iCal. No problems so far.

Mail.app (not iCal server) then sends a reply. And the inviter receives the reply as an email which is an .ics file attached. But the .ics is not understood by users not on iCal server.

The format looks like this:
ATTENDEE;CN="Myfirstname Mylastname";
CUTYPE=INDIVIDUAL;EMAIL="myemail@mycompany.dk";
PARTSTAT=ACCEPTED;
ROLE=REQ-PARTICIPANT:urn:uuid:38BCCE7F-D85C-4C17-872E-5C3CFFFB4838

I looks like the inviters iCal is not able to translate urn:uuid:38BCCE7F-D85C-4C17-872E-5C3CFFFB4838 to anything usable. And therefore sees it as if an unknow user has replied to the invitation. Apparently neither Mozilla Lightning og iCal local looks at EMAIL="myemail@mycompany.dk";

Inviting and replying to and from users on iCal server works fine.

Do I have to map the urn:uuid to the email somehow? Where? Or somehow allow external inviters to look to our server for urn:uuid to email translation?

Or can I manually change a config file to send an .ics with my email insted my urn:uuid? Like this:
PARTSTAT=ACCEPTED;ROLE=REQ-PARTICIPANT:myemail@mycompany.dk

When does iCal server send email invitations?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.