Category : icalendar

I am trying to create a link to download a .ics file based on the Data for iCalendar event. Here’s the code which is working independently but not working in Mail which I’m sending. <?php header(‘Content-Encoding: UTF-8’); header(‘Content-type: text/calendar; charset=utf-8’); $attach_d_link = “data:text/calendar;charset=utf8;base64,QkVHSU46VkNBTEVOREFSDQpWRVJTSU9OOjIuMA0KQkVHSU46VkVWRU5UDQpVSUQ6ZWViODI5NGI0MjQzNWI3NDAwMDdjOGE0YzM5OGQ5NzkNClNVTU1BUlk6U2tpcHBlZCB0b3BpY3MgZnJvbSBsYXN0IHNlc3Npb24NCkRUU1RBUlQ7VFpJRD1BbWVyaWNhL05ld19Zb3JrOjIwMjEwOTE3VDEwMzAwMA0KRFRFTkQ7VFpJRD1BbWVyaWNhL05ld19Zb3JrOjIwMjEwOTE3VDExMzAwMA0KREVTQ1JJUFRJT046RGVzY3JpcHRpb24gRGVzY3JpcHRpb24gRGVzY3JpcHRpb24gRGVzY3JpcHRpb24gRGVzY3JpcHRpb24gRGVzY3JpcHRpb24gDQpFTkQ6VkVWRU5UDQpFTkQ6VkNBTEVOREFS”; ?> <a href=”{{$attach_d_link}}” download=”Cal.ics”> <button type=”button”>iCalendar</button> </a> I want to use the ..

Read more

I’m working on this project for the scheduling module. I am creating appointments in the calendar and syncing them with google calendar. Now I want to sync my calendar with iCalendar. How can I initiate working on iCalendar connection authentication, event creation, update and delete in Laravel PHP? Please help me out with this, Thanks. ..

Read more

I try to add an .ics file to some of my emails, but on mailtrap I don’t get the attachment, I get only the content.. Not sure if I’m doing something wrong. public function toMail($notifiable) { $subject = some data..; $content = some data..; $filename = "invite.ics"; $data[0] = "BEGIN:VCALENDAR"; $data[1] = "PRODID:-//Google Inc//Google Calendar ..

Read more