CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to attach an Ical file to a email sent to activity's assignee on the fly?
Pages: [1]

Author Topic: How to attach an Ical file to a email sent to activity's assignee on the fly?  (Read 2375 times)

aeszq

  • I post occasionally
  • **
  • Posts: 53
  • Karma: 0
How to attach an Ical file to a email sent to activity's assignee on the fly?
November 09, 2010, 06:53:32 pm
CIVICRM automatically sends an email to assignees of an activity. I'm looking for a solution which can attach an Ical file to the email on the fly. The Ical file contains the information of the activity, just like the content of the email generated by civicrm. Could anyone give me a heads up?

Cheers,
George

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to attach an Ical file to a email sent to activity's assignee on the fly?
November 09, 2010, 08:09:30 pm

you can potentially use the mail alter hook to add the attachment

http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmalterMailParams

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to attach an Ical file to a email sent to activity's assignee on the fly?
October 17, 2012, 03:58:56 pm
I know this thread is very old, but just wondering if there's any interest having this in core? George did you ever write code for this?

Anyone think this would need to be configurable? I don't think so since recipients could just ignore the attachment if they don't want to add it to their calendar.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to attach an Ical file to a email sent to activity's assignee on the fly?
October 22, 2012, 08:32:19 am
Then are there any objections to having this in core?
http://issues.civicrm.org/jira/browse/CRM-11117

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to attach an Ical file to a email sent to activity's assignee on the fly?
October 22, 2012, 08:57:03 am

since this request has not come up a lot,

How about having a setting for this with the default set to no

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
Re: How to attach an Ical file to a email sent to activity's assignee on the fly?
October 25, 2012, 08:36:24 am
Would love to see this

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: How to attach an Ical file to a email sent to activity's assignee on the fly?
December 09, 2012, 04:00:33 pm
For 4.3, in admin settings -> Display Preferences there'll be a checkbox to include ical attachments to activity assignees.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to attach an Ical file to a email sent to activity's assignee on the fly?

This forum was archived on 2017-11-26.