Generating an automated meeting invitation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
sheail
Forum Newbie
Posts: 1
Joined: Mon Oct 17, 2005 4:28 am

Generating an automated meeting invitation

Post by sheail »

I'm currently trying to implement an online diary system whereby insurance brokers book an appointment with an underwriter. I want the underwriter to receive an automated email which contains an invite to a meeting event and all they have to do is hit accept, as if it was a meeting invitation sent through Outlook.

Using the phpmailer class and the vCalendar specification I have managed to get the appointment sent as an attachment which the recipient can open and then save into their calendar. This is fine but is there a way I can get Outlook to treat it like a single invitation and not an email with an appointment attached?

I'd appreciate any insight on this.
User avatar
Slippy
Forum Contributor
Posts: 113
Joined: Sat Jul 12, 2003 11:31 pm
Location: Vancouver eh!

Post by Slippy »

I'm trying to do this now... and I'm not sure where to start...

I'm wondering if I create a MIME message like this:
Date: Tue, 19 Sep 2006 23:09:13 -0700
From: Slippy <slippy@devnetwork.net>
Subject: Updated: The subject of our meeting is top secret
To: 'Slippy' <slippy@devnetwork.net>
MIME-version: 1.0
X-Mailer: PHP 4 or 5 or whatever
Content-type: text/calendar; method=REQUEST; charset=utf-8
Content-transfer-encoding: 7bit
Message body would go here I guess???
And mail it... would that work?

I have a MIME and SMTP class that I wrote that works for sending messages... is there any more to it than that? Anybody have any experience with meeting requests and PHP?
User avatar
emmbec
Forum Contributor
Posts: 112
Joined: Thu Sep 21, 2006 12:19 pm
Location: Queretaro, Mexico

Post by emmbec »

Its been a while since this post was made, and I was wondering if anyone knows if sending an OUTLOOK MEETING REQUEST is possible with PHP??
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

We don't encourage thread necromancy/thread jacking. Please make a new thread.
Locked