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) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Looking for information on what {action.forward} token does
Pages: [1]

Author Topic: Looking for information on what {action.forward} token does  (Read 982 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Looking for information on what {action.forward} token does
December 20, 2011, 05:15:32 am
I'm trying to understand more fully what the token {action.forward} actually does, but can't find much in the current documentation.

From what I can see it provides a click-through to a form where the user can enter up to 5 names and addresses, to whom the message in question will be forwarded.

From what I've read, CiviCRM then checks these contacts against those already in the database, creates new contacts as required, and then forwards the message only to those contacts that have not already been sent the mailing via other means (i.e. they may have been on the original mailing list to which the message was foist sent, or they may have been sent the message already via another user utilising the {action.forward} token).

What I'm unsure of currently is:

Are the contacts identified via the forwarding form linked to the contact record of the user submitting the form via a relationship?

Are newly created records added to the group that received the original mailing?

Are these records easily identifiable via any means - the mailing report or a search, perhaps?

Thanks for any tips on this.
Graham Mitchell
http://mc3.coop

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: Looking for information on what {action.forward} token does
December 20, 2011, 05:50:36 am
Quote from: Upperholme on December 20, 2011, 05:15:32 am
From what I've read, CiviCRM then checks these contacts against those already in the database, creates new contacts as required, and then forwards the message only to those contacts that have not already been sent the mailing via other means (i.e. they may have been on the original mailing list to which the message was foist sent, or they may have been sent the message already via another user utilising the {action.forward} token).

Yes the above is right. Would be great if you can help document this more fully on the wiki/book.

Quote from: Upperholme on December 20, 2011, 05:15:32 am
Are the contacts identified via the forwarding form linked to the contact record of the user submitting the form via a relationship?

No, but a record is kept in the table: civicrm_mailing_event_forward

Quote from: Upperholme on December 20, 2011, 05:15:32 am
Are newly created records added to the group that received the original mailing?

No, but they are added to the mailing queue and mailing delivered group. It proobably should also be added to the mailing recipients table but is currently not. If you could create a patch to do so that would be great, the code is at:

CRM/Mailing/Event/BAO/Forward.php

Quote from: Upperholme on December 20, 2011, 05:15:32 am
Are these records easily identifiable via any means - the mailing report or a search, perhaps?

I dont think so. This feature has not been used a lot as far as i can tell. So some love and improvements along with docs would be great :)

lobo
« Last Edit: December 20, 2011, 06:03:55 am by Donald 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

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Looking for information on what {action.forward} token does
December 21, 2011, 05:51:28 am
Thanks for the clarification Lobo. I can certainly have a go at the documentation side of things. As for coding, my skills there remain severely limited for the time being.
Graham Mitchell
http://mc3.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Looking for information on what {action.forward} token does

This forum was archived on 2017-11-26.