[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 62
  • Last Modified:

Outlook is doing a little too much to an .ics email attachment - can I stop it?

Within my Access database, I have some VBA that generates an .ics file, attaches it to an email and then sends the email (I am using EASendMail). This part seems to work just fine.  However, when Outlook receives it, it automatically tries to create a calendar event.  Whilst, I appreciate that this sounds fine, it does seem to do some funny things (don't always come through on iPhone, time loses hour via DST - but if you send the saved .ics manually it's perfect).  

In short, is it possible to modify the .ics file so that Outlook just sees it as an attachment and doesn't try to get too smart?

Here is the code I am using for the .ics file:

BEGIN:VCALENDAR
PRODID:-//Company//AppName//EN
CALSCALE:GREGORIAN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20161030T130845
DTSTART:20161029T213000
DTEND:20161029T223000
UID:D87E5D923AD84087BF8F67AEF8CC146AE8E17B23C0FA41CF8B5F0E032F089C9BB4233B6C1A05429CAB6835AF1FC4E8D5
CLASS:PUBLIC
SUMMARY:Quick test
DESCRIPTION:Some more text
BEGIN:VALARM
TRIGGER:-PT720M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR

Open in new window

0
Andy Brown
Asked:
Andy Brown
  • 3
  • 3
1 Solution
 
Gustav BrockCIOCommented:
0
 
Andy BrownAuthor Commented:
It seems like it, but this is actually to see if anything can be added to the ics file that stops Outlook doing over-smart things.
0
 
Gustav BrockCIOCommented:
I don't think Outlook is acting over-smart, it just tries - lacking timezone info - to guess what could be the time.

Thus, if you don't want simply to convert the times to UTC, which seems foolproof to me, you could try to specify the local timezone:

DTSTART;TZID=CEST:20161029T210000
DTEND;TZID=CEST:20161029T220000

Open in new window

/gustav
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
Andy BrownAuthor Commented:
Hi Gustav - It IS trying to act intelligently.  Instead of simply receiving an email with an attachment, it is seeing the attachment as an .ics file and automatically converting it to a calendar event.  Sure the UTC issue is a problem that I'm going to look at again, but it's not the same question.  I really do appreciate all of your help though.
0
 
Gustav BrockCIOCommented:
Oh, I see. There may be a setting in Outlook for how to handle the different file extensions.
That, however, may require admin rights granted to the user.

If not, you may have to attach it as a text file and ask the final receiver to save and rename the file.

/gustav
0
 
Andy BrownAuthor Commented:
Thanks - Gustav.  I'm going to re-focus on the UTC issue now.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now