# Code for ical attachement in cakephp using sendGrid

**URL:** <https://discourse.cakephp.org/t/code-for-ical-attachement-in-cakephp-using-sendgrid/299>\
**Category:** Uncategorized\
**Created:** [May 11, 2016, 6:36am UTC](https://discourse.cakephp.org/t/code-for-ical-attachement-in-cakephp-using-sendgrid/299 "2016-05-11T06:36:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepika.saini](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@deepika.saini](https://discourse.cakephp.org/u/deepika.saini)\
**Post date:** [May 11, 2016, 6:36am UTC](https://discourse.cakephp.org/t/code-for-ical-attachement-in-cakephp-using-sendgrid/299/1 "2016-05-11T06:36:00Z")

</div>

can any one help me in ical attachment with mail using sendgrid in cakephp. I does how to write a code for this

---

<div class="post-metadata">

**Author:** ![joris](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/joris/32/338_2.png) [@joris](https://discourse.cakephp.org/u/joris)\
**Post date:** [May 11, 2016, 12:11pm UTC](https://discourse.cakephp.org/t/code-for-ical-attachement-in-cakephp-using-sendgrid/299/2 "2016-05-11T12:11:08Z")

</div>

If you want us to help you, you will need to be more specific about the problems you encounter.  
_What do you want to achieve?_  
_What goes wrong?_  
_What did you try?_

---

<div class="post-metadata">

**Author:** ![deepika.saini](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@deepika.saini](https://discourse.cakephp.org/u/deepika.saini)\
**Post date:** [May 11, 2016, 12:49pm UTC](https://discourse.cakephp.org/t/code-for-ical-attachement-in-cakephp-using-sendgrid/299/3 "2016-05-11T12:49:20Z")

</div>

sir i want to send ical attachment with mail to the person who with purchase classes. when the confrimation mail is send with that ical attachment should be send. that it will added in the calenderwith the date of class date and time

---

<div class="post-metadata">

**Author:** ![joris](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/joris/32/338_2.png) [@joris](https://discourse.cakephp.org/u/joris)\
**Post date:** [May 11, 2016, 1:56pm UTC](https://discourse.cakephp.org/t/code-for-ical-attachement-in-cakephp-using-sendgrid/299/4 "2016-05-11T13:56:15Z")

</div>

I’m trying to understand you but i must say that’s rather difficult.  
I’m thinking you try to sent an email with attachement.  
You can lookup the documentation for this functionality here:  
[http://book.cakephp.org/3.0/en/core-libraries/email.html#sending-attachments](http://book.cakephp.org/3.0/en/core-libraries/email.html#sending-attachments)
