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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
Pages: [1]

Author Topic: Problem with {contact.contact_id}&{contact.checksum} in Email from Contact  (Read 1385 times)

creducation

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
April 30, 2009, 10:36:42 pm
I'm getting set up to do a newsletter mailing, using the send email from a found group of contacts, and I've set up a profile that people can visit to unsubscribe (opt out) of future mailings. However, when I include the link like the following
http://www.mysite/drupal/civicrm/profile/edit?reset=1&gid=6&id={contact.contact_id}&{contact.checksum}
 in my html mail, I get a result like the following in my mail program (Apple Mail).
x-msg://83/profile/edit?reset=1&gid=6&id=22&cs=332e861a8d3a5b0615ae680e5
Any ideas what might be causing the x-msg to appear in place of my domain information?

I'm on Drupal, just updated to 6.11, MySQL database 5.0.67, PHP 5.2.6

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
April 30, 2009, 11:07:06 pm
can you paste the exact source code from your html at step 3 of civimail

last time i saw this is was a simple coding error on the <a href> tag from memory.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

creducation

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
Re: Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
May 01, 2009, 06:24:04 am
I've tried both of the following (and a few other versions), one with the urlencoding and the other not.
Code: [Select]
<a href="http://www.mysite.org/crete/index.php?q=civicrm/profile/edit&amp;gid=6&amp;reset=1&amp;id={contact.contact_id}&amp;{contact.checksum}" style="font-family:'Trebuchet MS',Helvetica,Jamrul,sans-serif;font-size:11px;font-weight:normal;color:#000000;" >Unsubscribe Here</a>
and
Code: [Select]
<a href='http://www.mysite.org/crete/index.php?q=civicrm/profile/edit&gid=6&reset=1&id={contact.contact_id}&{contact.checksum}' style="font-family:'Trebuchet MS',Helvetica,Jamrul,sans-serif;font-size:11px;font-weight:normal;color:#000000;" >Unsubscribe Here</a>.

I've also been going back and forth with turning clean urls on or off in drupal. These two versions were tested with clean urls turned off.

creducation

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
Re: Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
May 01, 2009, 06:45:24 am
I just tried changing the link url to http://mysite.org (dropping the www) and now it works.
Seems like civicrm is thus improperly converting url links that it recognizes as being our domain somehow?

websynapse

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 3
    • Ryan Kennedy
  • CiviCRM version: 4.3.7
  • CMS version: Drupal 6
Re: Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
July 22, 2009, 08:58:34 pm
Quote from: creducation on May 01, 2009, 06:45:24 am
I just tried changing the link url to http://mysite.org (dropping the www) and now it works.
Seems like civicrm is thus improperly converting url links that it recognizes as being our domain somehow?


This is happening for me too, except our URL is www3.mysite.com so I can't strip out the www.

I've tried both FCKeditor and TinyMCE, tried editing the HTML repeatedly and yes I do know how to compose a link using HTML.

This is the link that works fine in the text version:

http://www3.mysite.com/civicrm/profile/edit?reset=1&gid=89&id={contact.contact_id}&{contact.checksum}

Driving me nuts - makes checksums to profiles unusable in HTML.

websynapse

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 3
    • Ryan Kennedy
  • CiviCRM version: 4.3.7
  • CMS version: Drupal 6
Re: Problem with {contact.contact_id}&{contact.checksum} in Email from Contact
August 24, 2009, 08:42:45 pm
Hello? Still happening. Checksums useless.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Problem with {contact.contact_id}&{contact.checksum} in Email from Contact

This forum was archived on 2017-11-26.