Re: [PHP] How do I create an Outlook calendar entry?

2005-06-25 Thread Burhan Khalid

Daevid Vincent wrote:
You are on to something. Maybe I did get an email with a confirmation. 
I could swear it was via their website though...


There are some pretty crazy Thread-Index: and UID: things in there. 
Do I have to generate them somehow?  


Anyways, for those interested, this is what the email looks like:


What they are doing is sending you a vcalendar document in the email. 
You can send similar notifications yourself by reading up on the 
vcalendar specs[1] and sending out the appropriate email.


Cheers,
Burhan

[1] http://www.imc.org/pdi/vcal-10.txt

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How do I create an Outlook calendar entry?

2005-06-24 Thread Daevid Vincent
I was on Avis' car rental site the other day and booked a reservation, then
they had a button that automatically added an entry into MS Outlook for the
details, dates, times, etc. it was very nice!

Anyone have some code or pear class or anything that does this?

I am guessing I have to use COM, but this is all new to me. I am expert PHP
and OO level though.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How do I create an Outlook calendar entry?

2005-06-24 Thread tg-php
Actually most/all outlook items should be able to be created with straight 
text.  Try creating a calendar entry and sending it to a normal POP3 email 
account then looking at it in a non-Outlook email client (view full 
source/headers/etc).

You can try just dragging a calendar item to your desktop and opening that file 
in Notepad, but that may be a binary file.  If you send an outlook calendar 
item to an email address, it'll be text encoded one way or another.  Maybe even 
outright readable like that.

Sorry for the quick and dirty response, but thought it'd at least give you 
somewhere to start.

Keep us updated!

-TG

= = = Original message = = =

I was on Avis' car rental site the other day and booked a reservation, then
they had a button that automatically added an entry into MS Outlook for the
details, dates, times, etc. it was very nice!

Anyone have some code or pear class or anything that does this?

I am guessing I have to use COM, but this is all new to me. I am expert PHP
and OO level though.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] How do I create an Outlook calendar entry?

2005-06-24 Thread Daevid Vincent
You are on to something. Maybe I did get an email with a confirmation. 
I could swear it was via their website though...

There are some pretty crazy Thread-Index: and UID: things in there. 
Do I have to generate them somehow?  

Anyways, for those interested, this is what the email looks like:

From [EMAIL PROTECTED] Fri Jun 24 15:22:45 2005
Received: from mail.myworkdomain.com ([67.105.193.226] helo=gabriel)
by daevid.com with esmtpsa (TLSv1:RC4-MD5:128)
(Exim 4.43)
id 1DlwZP-0004fI-3v
for [EMAIL PROTECTED]; Fri, 24 Jun 2005 15:22:45 -0700
From: Daevid Vincent [EMAIL PROTECTED]
Sender: Daevid Vincent [EMAIL PROTECTED]
To: External - Daevid Vincent [EMAIL PROTECTED]
Subject: Test calendar entry
Date: Fri, 24 Jun 2005 15:25:42 -0700
MIME-Version: 1.0
Content-Type: text/calendar; method=REQUEST;
charset=utf-8
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcV5C6ho/jAglH/jQxS+LQFABStwCg==
Content-Length: 702
Status: RO
X-Status: 
X-Keywords: 
X-UID: 3075

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20050626T04Z
DTEND:20050626T063000Z
LOCATION:someplace fun
TRANSP:OPAQUE
SEQUENCE:0
UID:04008200E00074C5B7101A82E008601307FCD078C501
100
 0CFF0458E65F5C74DBD38879AEF2B2197
DTSTAMP:20050624T222542Z
DESCRIPTION:When: Saturday\, June 25\, 2005 9:00 PM-11:30 PM (GMT-08:00)
  Pacific Time (US  Canada)\; Tijuana.\nWhere: someplace
  fun\n\n*~*~*~*~*~*~*~*~*~*\n\n\n
SUMMARY:Test calendar entry
PRIORITY:5
X-MICROSOFT-CDO-IMPORTANCE:1
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:-PT60M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR




 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 24, 2005 1:07 PM
 To: php-general@lists.php.net
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] How do I create an Outlook calendar entry?
 
 Actually most/all outlook items should be able to be created 
 with straight text.  Try creating a calendar entry and 
 sending it to a normal POP3 email account then looking at it 
 in a non-Outlook email client (view full source/headers/etc).
 
 You can try just dragging a calendar item to your desktop and 
 opening that file in Notepad, but that may be a binary file.  
 If you send an outlook calendar item to an email address, 
 it'll be text encoded one way or another.  Maybe even 
 outright readable like that.
 
 Sorry for the quick and dirty response, but thought it'd at 
 least give you somewhere to start.
 
 Keep us updated!
 
 -TG
 
 = = = Original message = = =
 
 I was on Avis' car rental site the other day and booked a 
 reservation, then
 they had a button that automatically added an entry into MS 
 Outlook for the
 details, dates, times, etc. it was very nice!
 
 Anyone have some code or pear class or anything that does this?
 
 I am guessing I have to use COM, but this is all new to me. I 
 am expert PHP
 and OO level though.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 ___
 Sent by ePrompter, the premier email notification software.
 Free download at http://www.ePrompter.com.
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php