ppppp
2017-05-04 18:00:00
Europe/London
Star Wars Day Party
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 18.01.2018 11:45 Uhr (aus Zeitgründen ev. kein Lunch im Januar)
2018/01/18 11:45:00
2018/01/18 18:00:00
Europe/London
Uhr (aus Zeitgründen ev. kein Lunch im Januar)
May the force be with you —opulence.com
Tatooine
Luke Skywalker
luke@starwars.com
Do 15.02.2018 11:45 Uhr Eventueller Schwerpunkt
2018-02-15 11:45:00
2018-02-15 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 15.03.2018 11:45 Uhr Eventueller Schwerpunkt
2018-03-15 11:45:00
2018-03-15 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 19.04.2018 11:45 Uhr Eventueller Schwerpunkt
2018-04-19 11:45:00
2018-04-19 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 17.05.2018 11:45 Uhr Eventueller Schwerpunkt
2018-17-19 11:45:00
2018-05-17 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 21.06.2018 11:45 Uhr Eventueller Schwerpunkt
2018-06-21 11:45:00
2018-06-21 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 19.07.2018 11:45 Uhr Eventueller Schwerpunkt
2018-07-19 11:45:00
2018-07-19 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 16.08.2018 11:45 Uhr Eventueller Schwerpunkt
2018-08-16 11:45:00
2018-08-16 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 20.09.2018 11:45 Uhr Eventueller Schwerpunkt
2018-09-20 11:45:00
2018-09-20 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 18.10.2018 11:45 Uhr Eventueller Schwerpunkt
2018-10-18 11:45:00
2018-10-18 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 15.11.2018 11:45 Uhr Eventueller Schwerpunkt
2018-11-15 11:45:00
2018-11-15 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
Do 13.12.2018 11:45 Uhr Eventueller Schwerpunkt
2018-12-13 11:45:00
2018-12-13 18:00:00
Europe/London
Uhr Eventueller Schwerpunkt
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com
[insert_php]
function sendIcalEvent($from_name, $from_address, $to_name, $to_address, $startTime, $endTime, $subject, $description, $location)
{
$domain = ‘exchangecore.com’;
//Create Email Headers
$mime_boundary = “—-Meeting Booking—-“.MD5(TIME());
$headers = “From: “.$from_name.” <“.$from_address.”>\n”;
$headers .= “Reply-To: “.$from_name.” <“.$from_address.”>\n”;
$headers .= “MIME-Version: 1.0\n”;
$headers .= “Content-Type: multipart/alternative; boundary=\”$mime_boundary\”\n”;
$headers .= “Content-class: urn:content-classes:calendarmessage\n”;
//Create Email Body (HTML)
$message = “–$mime_boundary\r\n”;
$message .= “Content-Type: text/html; charset=UTF-8\n”;
$message .= “Content-Transfer-Encoding: 8bit\n\n”;
$message .= “\n”; $message .= “\n”;
$message .= ‘
Dear ‘.$to_name.’,
‘;
$message .= ‘
‘.$description.’
‘;
$message .= “\n”;
$message .= “\n”;
$message .= “–$mime_boundary\r\n”;
$ical = ‘BEGIN:VCALENDAR’ . “\r\n” .
‘PRODID:-//Microsoft Corporation//Outlook 10.0 MIMEDIR//EN’ . “\r\n” .
‘VERSION:2.0’ . “\r\n” .
‘METHOD:REQUEST’ . “\r\n” .
‘BEGIN:VTIMEZONE’ . “\r\n” .
‘TZID:Eastern Time’ . “\r\n” .
‘BEGIN:STANDARD’ . “\r\n” .
‘DTSTART:20091101T020000’ . “\r\n” .
‘RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11’ . “\r\n” .
‘TZOFFSETFROM:-0400’ . “\r\n” .
‘TZOFFSETTO:-0500’ . “\r\n” .
‘TZNAME:EST’ . “\r\n” .
‘END:STANDARD’ . “\r\n” .
‘BEGIN:DAYLIGHT’ . “\r\n” .
‘DTSTART:20090301T020000’ . “\r\n” .
‘RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3’ . “\r\n” .
‘TZOFFSETFROM:-0500’ . “\r\n” .
‘TZOFFSETTO:-0400’ . “\r\n” .
‘TZNAME:EDST’ . “\r\n” .
‘END:DAYLIGHT’ . “\r\n” .
‘END:VTIMEZONE’ . “\r\n” .
‘BEGIN:VEVENT’ . “\r\n” .
‘ORGANIZER;CN=”‘.$from_name.'”:MAILTO:’.$from_address. “\r\n” .
‘ATTENDEE;CN=”‘.$to_name.'”;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:’.$to_address. “\r\n” .
‘LAST-MODIFIED:’ . date(“Ymd\TGis”) . “\r\n” .
‘UID:’.date(“Ymd\TGis”, strtotime($startTime)).rand().”@”.$domain.”\r\n” .
‘DTSTAMP:’.date(“Ymd\TGis”). “\r\n” .
‘DTSTART;TZID=”Eastern Time”:’.date(“Ymd\THis”, strtotime($startTime)). “\r\n” .
‘DTEND;TZID=”Eastern Time”:’.date(“Ymd\THis”, strtotime($endTime)). “\r\n” .
‘TRANSP:OPAQUE’. “\r\n” .
‘SEQUENCE:1’. “\r\n” .
‘SUMMARY:’ . $subject . “\r\n” .
‘LOCATION:’ . $location . “\r\n” .
‘CLASS:PUBLIC’. “\r\n” .
‘PRIORITY:5’. “\r\n” .
‘BEGIN:VALARM’ . “\r\n” .
‘TRIGGER:-PT15M’ . “\r\n” .
‘ACTION:DISPLAY’ . “\r\n” .
‘DESCRIPTION:Reminder’ . “\r\n” .
‘END:VALARM’ . “\r\n” .
‘END:VEVENT’. “\r\n” .
‘END:VCALENDAR’. “\r\n”;
$message .= ‘Content-Type: text/calendar;name=”meeting.ics”;method=REQUEST’.”\n”;
$message .= “Content-Transfer-Encoding: 8bit\n\n”;
$message .= $ical;
// $mailsent = mail($to_address, $subject, $message, $headers);
// return ($mailsent)?(true):(false);
}
$from_name = “webmaster”;
$from_address = “webmaster@example.com”;
$to_name = “Joseph”;
$to_address = “joe@example.com”;
$startTime = “11/12/2013 18:00:00”;
$endTime = “11/12/2013 19:00:00”;
$subject = “My Test Subject”;
$description = “My Awesome Description”;
$location = “Joe’s House”;
sendIcalEvent($from_name, $from_address, $to_name, $to_address, $startTime, $endTime, $subject, $description, $location);
[/insert_php]