laravel - GMail Calendar Invite Not Rendering When Sent via PHP Application -
i've found several other threads on similar topics, particular question might more nuanced. have .ics icalendar file i'd use send out event invitations laravel (php) application.
the contents of file:
begin:vcalendar version:2.0 prodid:www.example.org begin:vevent uid:53877c55800b2 dtstamp:20140529t182837z dtstart:20140531t120000z sequence:0 transp:opaque dtend:20140531t130000z summary:intro web design attendee:example@gmail.com method:request end:vevent end:vcalendar
when sent php application attachment, gmail recognizes calendar invite (see small calendar icon next date) doesn't embed actionable calendar widget i'd expect.
however when manually forward thread myself, sent gmail web ui, include widget. (the 'view on google calendar' link busted, going http://www.google.com/calendar/undefined, i'll work on next)
see contrast here:
same exact .ics file. gets 100 on http://icalvalid.cloudapp.net/. best can tell has maybe gmail's spam protection filters. according link https://developers.google.com/gmail/actions/registering-with-google related different service, need authenticate either spf/dkim seems tough swing local dev environment.
any ideas? documentation seems incredibly thin how make gmail invite widget appear. in advance!
edit: adding raw source.
sans-invite:
return-path: <jon.c.culver@gmail.com> received: [127.0.0.1] (c-24-19-97-115.hsd1.wa.comcast.net. [24.19.97.115]) mx.google.com esmtpsa id nh8sm30028762pbc.25.2014.05.28.14.58.35 <culvejc@gmail.com> (version=tlsv1 cipher=rc4-sha bits=128/128); wed, 28 may 2014 14:58:35 -0700 (pdt) sender: jon culver <culvejc@gmail.com> message-id: <d77e56242d5eb5b88c6a12c449a457d3@localhost> date: wed, 28 may 2014 21:58:34 +0000 from: invite <jon.c.culver@gmail.com> to: culvejc@gmail.com mime-version: 1.0 content-type: multipart/mixed; boundary="_=_swift_v4_1401314314_7e69457c82922c70669b91e8f6f04aa0_=_" --_=_swift_v4_1401314314_7e69457c82922c70669b91e8f6f04aa0_=_ content-type: text/html; charset=utf-8 content-transfer-encoding: quoted-printable you're invited! intro web design --_=_swift_v4_1401314314_7e69457c82922c70669b91e8f6f04aa0_=_ content-type: text/calendar; name=invite.ics content-transfer-encoding: base64 content-disposition: attachment; filename=invite.ics qkvhsu46vknbtevorefsdqpwrvjtsu9oojiuma0kufjpreleond3dy5zzwf0dgxlznjlzxnjag9v bc5vcmcnckjfr0loolzfvkvova0kvuleojuzody1yzbhndixzjmnckruu1rbtva6mjaxnda1mjhu mje1odm0wg0krfrtvefsvdoymde0mduzmvqxmjawmdbadqptrvfvru5drtowdqpuukfou1a6t1bb uvvfdqpevevordoymde0mduzmvqxmzawmdbadqptvu1nqvjzokludhjvihrvifdlyibezxnpz24n ckfuvevorevfompvbi5jlmn1bhzlckbnbwfpbc5jb20nck1fvehprdpsrvfvrvnudqpftkq6vkvw ru5udqpftkq6vknbtevorefs --_=_swift_v4_1401314314_7e69457c82922c70669b91e8f6f04aa0_=_--
with invite added correctly:
mime-version: 1.0 sender: culvejc@gmail.com received: 10.170.223.212 http; wed, 28 may 2014 14:58:54 -0700 (pdt) in-reply-to: <d77e56242d5eb5b88c6a12c449a457d3@localhost> references: <d77e56242d5eb5b88c6a12c449a457d3@localhost> date: wed, 28 may 2014 14:58:54 -0700 delivered-to: culvejc@gmail.com x-google-sender-auth: 4nyaegkyut25ueyzdqbv3cpgdyy message-id: <cabrfhznnc5fndt=l3x-bfdnsej=gpx0wwg4a9u96fzrzqrzppq@mail.gmail.com> subject: fwd: from: jon culver <jon.c.culver@gmail.com> to: jon culver <culvejc@gmail.com> content-type: multipart/mixed; boundary=001a1139d86a27ac0104fa7ceb83 --001a1139d86a27ac0104fa7ceb83 content-type: multipart/alternative; boundary=001a1139d86a27abfe04fa7ceb81 --001a1139d86a27abfe04fa7ceb81 content-type: text/plain; charset=utf-8 ---------- forwarded message ---------- from: invite <jon.c.culver@gmail.com> date: wed, may 28, 2014 @ 2:58 pm subject: to: culvejc@gmail.com you're invited! intro web design --001a1139d86a27abfe04fa7ceb81 content-type: text/html; charset=utf-8 <div dir="ltr"><br><br><div class="gmail_quote">---------- forwarded message ----------<br>from: <b class="gmail_sendername">invite</b> <span dir="ltr"><<a href="mailto:jon.c.culver@gmail.com">jon.c.culver@gmail.com</a>></span><br> date: wed, may 28, 2014 @ 2:58 pm<br>subject: <br>to: <a href="mailto:culvejc@gmail.com">culvejc@gmail.com</a><br><br><br>you're invited! intro web design </div><br></div> --001a1139d86a27abfe04fa7ceb81-- --001a1139d86a27ac0104fa7ceb83 content-type: text/calendar; charset=us-ascii; name="invite.ics" content-disposition: attachment; filename="invite.ics" content-transfer-encoding: base64 x-attachment-id: a3995007e372820d_0.1 qkvhsu46vknbtevorefsdqpwrvjtsu9oojiuma0kufjpreleond3dy5zzwf0dgxlznjlzxnjag9v bc5vcmcnckjfr0loolzfvkvova0kvuleojuzody1yzbhndixzjmnckruu1rbtva6mjaxnda1mjhu mje1odm0wg0krfrtvefsvdoymde0mduzmvqxmjawmdbadqptrvfvru5drtowdqpuukfou1a6t1bb uvvfdqpevevordoymde0mduzmvqxmzawmdbadqptvu1nqvjzokludhjvihrvifdlyibezxnpz24n ckfuvevorevfompvbi5jlmn1bhzlckbnbwfpbc5jb20nck1fvehprdpsrvfvrvnudqpftkq6vkvw ru5udqpftkq6vknbtevorefs --001a1139d86a27ac0104fa7ceb83--
the method:request
property belongs in outer vcalendar object , not vevent object, , such should put before begin:vevent
.
you missing organizer property.
Comments
Post a Comment