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) »
  • Unsubscribe Tokens weird. Non clickable URL and Mailto
Pages: [1]

Author Topic: Unsubscribe Tokens weird. Non clickable URL and Mailto  (Read 2441 times)

madronemedia

  • Guest
Unsubscribe Tokens weird. Non clickable URL and Mailto
November 19, 2008, 05:06:32 pm
I'm new and testing email blasts. I've inserted the required optout tokens but they show as images and aren't clickable URls (well they aren't using thunderbird 2, but the url -not mailto- is in gmail. I don't think gmail is a good indicator) . Any help to make this easier for someone to unsubscribe and have it look more professional would be great!

The mailto never works from thunderbird or gmail.

I used these tokens: {domain.address} {action.optOutUrl} {action.optOut}

I'm posting the details below.

Text from email:

This email is sent from 107 SE Washington Ave Suite 545 Portland, OR 97214 United States


If you want to change or subscription status or unsubscribe, please click <href="here"mailto:o.1.8.10.03828d39d7f4e2bb@rasantiago.com />

If you want to change or subscription status or unsubscribe, please click http://198.145.38.149/crm/civicrm/standalone/index.php?q=civicrm/mailing/optout&reset=1&jid=12&qid=15&h=6d98c387395d2161

--I assume the URL above will become clickable in this post, but it's not in Thunderbird.--



Source code of email:

This email is sent from </span></span>107 SE Washington Ave Suite 545
Portland, OR 97214
United States<br />

<span style="font-size: small;"><span style="font-family: Arial;">If you want to change or subscription status or unsubscribe, please click &lt;href=&quot;here&quot;</span></span>mailto:o.1.8.10.03828d39d7f4e2bb@rasantiago.com /&gt;</p>


<span style="font-size: small;"><span style="font-family: Arial;">If you want to change or subscription status or unsubscribe, please click </span></span>http://198.145.38.149/crm/civicrm/standalone/index.php?q=civicrm/mailing/optout&amp;reset=1&amp;jid=12&amp;qid=15&amp;h=6d98c387395d2161</p>

<img src="http://198.145.38.149/crm/civicrm/extern/open.php?q=15" width='1' height='1' alt='' border='0'>
--=_71893deeb4a74091433ca1cb31eb7c3b--


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: Unsubscribe Tokens weird. Non clickable URL and Mailto
November 19, 2008, 11:35:01 pm
I am no html guru but the 'source' code you show has the url in an image tag in one place, and not inside and <a> tag. When we include ours (it is in our footer) it is entered in html version as <a href="{action.unsubscribeUrl}">

HTH and I am not teaching you to suck eggs.
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

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Unsubscribe Tokens weird. Non clickable URL and Mailto
November 20, 2008, 01:52:58 am
Quote from: madronemedia on November 19, 2008, 05:06:32 pm
I used these tokens: {domain.address} {action.optOutUrl} {action.optOut}

Note that people usually want to either use {action.optOutUrl} or {action.optOut}, not both. The first gets replaced with an opt-out URL (i.e., a http://… link), the other with an email address.

You most probably want something like

Code: [Select]
…please click {action.optOutUrl}

in the text template and something like

Code: [Select]
…please click <a href="{action.optOutUrl}">here</a>

in the HTML template.
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.

madronemedia

  • Guest
Re: Unsubscribe Tokens weird. Non clickable URL and Mailto
November 20, 2008, 03:52:59 pm
Thanks for some ideas, however, I'm wondering why the <a> tag is also missing. we didn't hand code this email, I thought I followed the documentation and Civi did the code on the fly.

anyone else have any idea why the unsubscribe URL mailto are messed up??? We are using a standalone install, anyone know if that impacts it?

Thanks.

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: Unsubscribe Tokens weird. Non clickable URL and Mailto
November 20, 2008, 07:39:42 pm
Dunno - how are you doing the html and is this in the footer or in the civimail body? if you are using fckeditor or whatever can you click on source to check if it isn't funny formatting resulting from that - not that i see how img gets in to the story. Some screenshots may shed more light on this.
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

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Unsubscribe Tokens weird. Non clickable URL and Mailto
November 21, 2008, 02:41:35 am
Quote from: madronemedia on November 20, 2008, 03:52:59 pm
I'm wondering why the <a> tag is also missing. we didn't hand code this email, I thought I followed the documentation and Civi did the code on the fly.

As Peter suggested, it would help to have some actual code you put in and ended up with.

In your initial post, you quote something like

Code: [Select]
<href="here"mailto:o.1.8.10.03828d39d7f4e2bb@rasantiago.com />

which is nothing even remotely valid; what you most probably wanted to end up with was

Code: [Select]
<a href="mailto:o.1.8.10.03828d39d7f4e2bb@rasantiago.com">here</a>

but it’s unclear whether what you inserted to achieve this was right.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Unsubscribe Tokens weird. Non clickable URL and Mailto

This forum was archived on 2017-11-26.