Hi,
I'm tying to attach a .ics file to an admin notification email. I can do this fine in that when the email arrives it has the file attached. However it doesn't behave the same way that an invitation from GCal/Outlook/iCal would, i.e. letting you add the invitation/appointment to your calendar directly from the mail client.
It looks like the reason is down to the 'Content-Type' in the email. When I send one from GCal/Outlook/iCal that works fine, this is what I see in the bottom of the email source:
When I attach a file with this code:
I get this in the email:
Any ideas how I can enforce the correct content type so the mail clients know how to handle it?
Thanks,
Ben