<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Sending a calendar invite through jBPM5
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/highway89">Qihan Zhang</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/736227#736227">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>So I was able to connect SendIcal to a custom CalendarWorkItemHandler so that it actually sends an .ics file attached to the email</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The problem now is that the webmail outlook exchange doesn't recognize the ics file and simply has it as an attachment, whereas Gmail properly parses the ics file format so it actually looks like a calendar invite event.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Attached below is the output of my ics file, does anyone know why outlook isn't recognizing it?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>BEGIN:VCALENDAR</p><p>METHOD:REQUEST</p><p>PRODID:Microsoft Exchange Server 2007</p><p>VERSION:2.0</p><p>BEGIN:VTIMEZONE</p><p>TZID:Central Standard Time</p><p>BEGIN:STANDARD</p><p>DTSTART:16010101T020000</p><p>TZOFFSETFROM:-0500</p><p>TZOFFSETTO:-0600</p><p>RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11</p><p>END:STANDARD</p><p>BEGIN:DAYLIGHT</p><p>DTSTART:16010101T020000</p><p>TZOFFSETFROM:-0600</p><p>TZOFFSETTO:-0500</p><p>RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3</p><p>END:DAYLIGHT</p><p>END:VTIMEZONE</p><p>BEGIN:VEVENT</p><p><span>ORGANIZER;CN="Zhang, Qihan":mailto:</span><a class="jive-link-email-small" href="mailto:qihan.zhang@xyz.com" target="_blank">qihan.zhang@xyz.com</a></p><p><span>ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;</span><a class="jive-link-email-small" href="mailto:CN=abc@gmail.com" target="_blank">CN=abc@gmail.com</a><span>:MAILTO:</span><a class="jive-link-email-small" href="mailto:abc@gmail.com" target="_blank">abc@gmail.com</a></p><p>DESCRIPTION;LANGUAGE=en-US:</p><p>________________________________________</p><p>From: Zhang\, Qihan</p><p>Sent: Tuesday\, May 15\, 2012 6:10 PM</p><p>To: Zhang\, Qihan</p><p>Subject: TestSubject</p><p>When: Tuesday\, May 15\, 2012 6:30 PM-7:30 PM.</p><p>Where: TestLocation</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When: Tuesday\, May 15\, 2012 6:30 PM-7:30 PM. Central Standard Time</p><p>Where: TestLocation</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>+~+~+~+~+~+~+~+~+~+</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>test</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>SUMMARY;LANGUAGE=en-US:FW: TestSubject</p><p>DTSTART;TZID=Central Standard Time:20120515T183000</p><p>DTEND;TZID=Central Standard Time:20120515T193000</p><p>UID:040000008200E00074C5B7101A82E0080000000096537CF3EF32CD01000000000000000010000000D9F563E58A5DB64294F3E76FF2371D0B</p><p>CLASS:PUBLIC</p><p>PRIORITY:2</p><p>DTSTAMP:20120515T231157Z</p><p>TRANSP:OPAQUE</p><p>STATUS:CONFIRMED</p><p>SEQUENCE:0</p><p>LOCATION;LANGUAGE=en-US:TestLocation</p><p>X-MICROSOFT-CDO-APPT-SEQUENCE:0</p><p>X-MICROSOFT-CDO-OWNERAPPTID:2110093462</p><p>X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE</p><p>X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY</p><p>X-MICROSOFT-CDO-ALLDAYEVENT:FALSE</p><p>X-MICROSOFT-CDO-IMPORTANCE:1</p><p>X-MICROSOFT-CDO-INSTTYPE:0</p><p>BEGIN:VALARM</p><p>ACTION:DISPLAY</p><p>DESCRIPTION:REMINDER</p><p>TRIGGER;RELATED=START:-PT15M</p><p>END:VALARM</p><p>END:VEVENT</p><p>END:VCALENDAR</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/736227#736227">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>