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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Parse forwarded email for To and CC and From headers
Pages: [1]

Author Topic: Parse forwarded email for To and CC and From headers  (Read 921 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Parse forwarded email for To and CC and From headers
October 11, 2013, 08:24:58 am
If a staff person wants to store an email sitting in their email client in CiviCRM, they can forward it at present. It would be good to have the inbound processing add the email activity to contacts listed in the To:, CC: and From: headers for the send prior to the forward.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Parse forwarded email for To and CC and From headers
October 11, 2013, 08:31:28 am
It would be awesome.

As you can expect, every client has a different way of slightly modifying the header information of the initial email, so you'd need a lot of tests to make it robust.

Would you have resources/budget to work on it?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: Parse forwarded email for To and CC and From headers
October 11, 2013, 09:05:41 am
No, if I have a budget then I just create an issue and work on it, or worse, work on it and then create an issue when I'm ready to submit a PR.

I was searching around briefly for a library that might be able to handle the various cases but didn't find much with a quick search, possibly because I wasn't clear on how to do the actual work (is the forwarded email a MIME part that includes the headers, which should be read in and searched for _its_ headers?). In any case, this could be done on a 'best-efforts' basis, where attaching the email activity to any found email address of an attached forwarded message would be done.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

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: Parse forwarded email for To and CC and From headers
October 12, 2013, 05:55:33 am

might be easier to see if the client has a "bounce mail" feature, something like:

https://addons.mozilla.org/en-us/thunderbird/addon/mailredirect/

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Parse forwarded email for To and CC and From headers

This forum was archived on 2017-11-26.