{"id":427,"date":"2012-09-13T14:35:39","date_gmt":"2012-09-13T13:35:39","guid":{"rendered":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/?p=427"},"modified":"2012-09-13T14:36:44","modified_gmt":"2012-09-13T13:36:44","slug":"jak-odeslat-pozvanku-na-meeting-do-outlooku-pres-php","status":"publish","type":"post","link":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/jak-odeslat-pozvanku-na-meeting-do-outlooku-pres-php\/","title":{"rendered":"Jak odeslat pozv\u00e1nku na meeting do Outlooku p\u0159es PHP?"},"content":{"rendered":"<div class=\"958545b2ffe6a18f89c3ac8a7be9162a\" data-index=\"3\" style=\"float: none; margin:0px;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-9849429965459928\";\r\n\/* Blog 300x250 \u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bdl\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00a1nky *\/\r\ngoogle_ad_slot = \"0479547637\";\r\ngoogle_ad_width = 300;\r\ngoogle_ad_height = 250;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>N\u011bkdy se stane \u017ee chcete abyste na n\u011bco nezapom\u011bli. A ten kdo to m\u00e1 zajistit je stroj nebo aplikace. Ale obvykl\u00e9 remindery obvykle nefunguj\u00ed, pokud je \u010dlovek zahrabanej v Outlooku, kter\u00fd mu \u0159\u00edd\u00ed cel\u00fd \u017eivot. Pro podobn\u00e9 p\u0159\u00edpady je dobr\u00e9 si deadliny nastavit p\u0159\u00edmo do kalend\u00e1\u0159e v outlooku. Tak\u017ee jak to ud\u011blat?<\/p>\n<p>Bu\u010f odkazem, na kter\u00fd se klikne a u\u017eivatel si st\u00e1hne soubor, kter\u00fd  kdy\u017e si v outlooku otev\u0159e tak se mu otev\u0159e okno meetingu a on to m\u016f\u017ee potvrdit. To je ale takov\u00fd blb\u00fd.<\/p>\n<p>Tak\u017ee moje ide\u00e1ln\u00ed \u0159e\u0161en\u00ed je to, \u017ee ten meeting p\u0159ijde na mail a u\u017eivatel si ho otev\u0159e a potvrd\u00ed a m\u00e1 ho tam \ud83d\ude42<\/p><!--CusAds0-->\n<p>Jde to jednodu\u0161e, detaily jsou ve scriptu viz n\u00ed\u017ee. jedin\u00fd co blbne je ten \u010das, proto\u017ee zatim mi to odes\u00edl\u00e1 v n\u011bjak\u00fdm Kanada-USA \u010dase, tak\u017ee to se asi mus\u00ed je\u0161t\u011b nejak po\u0161telovat:<br \/>\n<code><br \/>\n<?\n function sendCal($dtstart,$dtend,$loc,$summary,$from,$to,$subject) {\n  $vcal = \"BEGIN:VCALENDAR\\r\\n\";\n  $vcal .= \"VERSION:2.0\\r\\n\";\n  $vcal .= \"PRODID:-\/\/CompanyName\/\/ProductName\/\/EN\\r\\n\";\n  $vcal .= \"METHOD:REQUEST\\r\\n\";\n  $vcal .= \"BEGIN:VEVENT\\r\\n\";\n  $vcal .= \"ATTENDEE;CN=\\\"Attendee1Name\\\";ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:Att1Mail@mail.com\\r\\n\";\n  $vcal .= \"ATTENDEE;CN=\\\"Attendee2Name\\\";ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:Att2Mail@mail.com\\r\\n\";\n  $vcal .= \"UID:\".date('Ymd').'T'.date('His').\"-\".rand().\"-domain.com\\r\\n\";\n  $vcal .= \"DTSTAMP:\".date('Ymd').'T'.date('His').\"\\r\\n\";\n  $vcal .= \"DTSTART:$dtstart\\r\\n\";\n  $vcal .= \"DTEND:$dtend\\r\\n\"; \n  if ($loc != \"\") $vcal .= \"LOCATION:$loc\\r\\n\";\n  $vcal .= \"SUMMARY:$summary\\r\\n\";\n  $vcal .= \"BEGIN:VALARM\\r\\n\";\n  $vcal .= \"TRIGGER:-PT15M\\r\\n\";\n  $vcal .= \"ACTION:DISPLAY\\r\\n\";\n  $vcal .= \"DESCRIPTION:Reminder\\r\\n\";\n  $vcal .= \"END:VALARM\\r\\n\";\n  $vcal .= \"END:VEVENT\\r\\n\";\n  $vcal .= \"END:VCALENDAR\\r\\n\";\n \n  $headers = \"From: $from\\r\\nReply-To: $from\"; \n  $headers .= \"\\r\\nMIME-version: 1.0\\r\\nContent-Type: text\/calendar; method=REQUEST; charset=\\\"iso-8859-1\\\"\";\n  $headers .= \"\\r\\nContent-Transfer-Encoding: 7bit\\r\\nX-Mailer: Microsoft Office Outlook 12.0\"; \n \n  mail($to, $subject, $vcal, $headers);\n }\n \n$dtstart=\"20121010T120000\";\n$dtend=\"20121010T140000\";\n$loc=\"\";\n$summary=\"summar\";\n$from=\"jan.suda@h20.cz\";\n$to=\"jan.suda@groupm.com\";\n$subject=\"here is da meeting\";\n\nsendCal($dtstart,$dtend,$loc,$summary,$from,$to,$subject);\n?><br \/>\n<\/code><\/p>\n<p>Informace jsem sb\u00edral zde:<br \/>\nhttp:\/\/www.terminally-incoherent.com\/blog\/2008\/04\/14\/generate-outlook-calendar-events-with-php-and-icalendar\/<br \/>\nhttp:\/\/www.webdeveloper.com\/forum\/showthread.php?201539-Send-Outlook-Appointment-via-eMail-Using-PHP<\/p>\n<div class=\"958545b2ffe6a18f89c3ac8a7be9162a\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"pub-9849429965459928\";\r\n\/* Blog 234x60 texty, vytvo\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bdeno 10.1.11 *\/\r\ngoogle_ad_slot = \"1054435175\";\r\ngoogle_ad_width = 234;\r\ngoogle_ad_height = 60;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>N\u011bkdy se stane \u017ee chcete abyste na n\u011bco nezapom\u011bli. A ten kdo to m\u00e1 zajistit je stroj nebo aplikace. Ale obvykl\u00e9 remindery obvykle nefunguj\u00ed, pokud je \u010dlovek zahrabanej v Outlooku, kter\u00fd mu \u0159\u00edd\u00ed cel\u00fd \u017eivot. Pro podobn\u00e9 p\u0159\u00edpady je dobr\u00e9 si deadliny nastavit p\u0159\u00edmo do kalend\u00e1\u0159e v outlooku. Tak\u017ee jak to ud\u011blat? Bu\u010f odkazem, na &hellip; <a href=\"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/jak-odeslat-pozvanku-na-meeting-do-outlooku-pres-php\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Jak odeslat pozv\u00e1nku na meeting do Outlooku p\u0159es PHP?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,3],"tags":[99,177,23],"class_list":["post-427","post","type-post","status-publish","format-standard","hentry","category-navody","category-webdesign","tag-outlook","tag-outlook-meeting","tag-php"],"_links":{"self":[{"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/comments?post=427"}],"version-history":[{"count":2,"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":429,"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions\/429"}],"wp:attachment":[{"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/media?parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/categories?post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/wp-json\/wp\/v2\/tags?post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}