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) »
  • contact token does not work!
Pages: [1]

Author Topic: contact token does not work!  (Read 2373 times)

ft_drupal

  • Guest
contact token does not work!
November 12, 2007, 12:24:56 am
Dear {contact.first_name} is displayed as "Dear {contact.first_name}".
Anything has to be configured?
Thanks!

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: contact token does not work!
November 12, 2007, 12:53:55 am
What do you mean by ‘displayed’? You mean, it looks like this in sent mailings?

Which version of CiviCRM you’re using?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: contact token does not work!
November 12, 2007, 11:48:03 am
This is a confirmed missing feature in 1.8 and 1.9

It appears to exist only in the documentation

I'm interested in looking at fixing this, but can't take it on in the next week or two. Would be keen for input on where to start.

 * http://forum.osuosl.civicrm.org/index.php/topic,832.0.html
 * http://forum.osuosl.civicrm.org/index.php/topic,1395.0.html
@xurizaemon ● www.fuzion.co.nz

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: contact token does not work!
November 12, 2007, 11:59:00 am
Piotr, I am wondering if (as it got documented) there's a chance that this worked in a particular branch or release of CiviCRM previously. Do you recall having used this functionality?
@xurizaemon ● www.fuzion.co.nz

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: contact token does not work!
November 12, 2007, 12:23:20 pm

Repeating what we have said in the past. The contact tokens do work in CiviMail in v1.9 (and also in past releases). They do not work in "Send Email to Contacts" task from the search screen. I just tested it with v1.9 again and it worked as expected, here is my mail file

Code: [Select]
Dear {contact.display_name}:

Your name is {contact.first_name}, {contact.last_name}, {contact.email}

++++++++++++++++++
Community Partners
++++++++++++++++++
Helping people in Massachusetts get the health care coverage they need.


August 23, 2006 - 12:35pm
-------------------------
Massachusetts’ Medical Security Program (MSP) provides health care
coverage to eligible people while they are receiving unemployment benefits....

http://www.google.com
http://www.yahoo.com
http://localhost/drupal/
http://localhost/~lobo/drupal/
http://localhost/drupal/

Support our efforts to get health care coverage to all people of Massachusetts!
Paste this link into your web browser:
https://www.example.org/civicrm/contribute/transact?reset=1&id=1

To unsubscribe from this newsletter, send email to the this address:
{action.unsubscribeUrl}
{action.unsubscribe}

and here is the mail sent

Code: [Select]
To: "Donald A Lobo" <lobo@boo.com>
MIME-Version: 1.0
Reply-To: reply.1.1.1.58adabae79fb5ad4c0a19b8753ffbaa7e6b4c7f2-lobo=boo.com@FIXME.ORG
Return-Path: bounce.1.1.1.58adabae79fb5ad4c0a19b8753ffbaa7e6b4c7f2-lobo=boo.com@FIXME.ORG
From: "FIXME" <info@FIXME.ORG>
Subject: First mailing
To: "Donald A Lobo" <lobo@boo.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Dear Donald A Lobo:

Your name is Donald, Lobo, lobo@boo.com

++++++++++++++++++
Community Partners
++++++++++++++++++
Helping people in Massachusetts get the health care coverage they need.


August 23, 2006 - 12:35pm
-------------------------
Massachusetts&rsquo; Medical Security Program (MSP) provides health care
coverage to eligible people while they are receiving unemployment benefits....

http://localhost/~lobo/drupal/sites/all/modules/civicrm/extern/url.php?u=1&qid=1
http://localhost/~lobo/drupal/sites/all/modules/civicrm/extern/url.php?u=2&qid=1
http://localhost/~lobo/drupal/sites/all/modules/civicrm/extern/url.php?u=3&qid=1
http://localhost/~lobo/drupal/sites/all/modules/civicrm/extern/url.php?u=4&qid=1
http://localhost/~lobo/drupal/sites/all/modules/civicrm/extern/url.php?u=3&qid=1


Support our efforts to get health care coverage to all people of Massachusetts!
Paste this link into your web browser:
http://localhost/~lobo/drupal/sites/all/modules/civicrm/extern/url.php?u=5&qid=1

To unsubscribe from this newsletter, send email to the this address:
http://localhost/~lobo/drupal/civicrm/mailing/unsubscribe?reset=1&jid=1&qid=1&h=58adabae79fb5ad4c0a19b8753ffbaa7e6b4c7f2
unsubscribe.1.1.1.58adabae79fb5ad4c0a19b8753ffbaa7e6b4c7f2@FIXME.ORG
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ft_drupal

  • Guest
Re: contact token does not work!
November 13, 2007, 11:58:35 pm
Thanks a lot, Donald. Yes, Civimail works in "New Mailing" mode, but there is one more PROBLEM: it works only when sending the test email "CiviCRM Test Mailer". No message is sent out when choosing "Sending immediately or scheduling ...".
I very appreciate your help.


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: contact token does not work!
November 14, 2007, 06:08:35 am
Please check http://forum.civicrm.org/index.php/topic,1230.0.html

HTH

kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • contact token does not work!

This forum was archived on 2017-11-26.