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) »
  • Does the sample actually work with CiviMail 1.9?
Pages: [1]

Author Topic: Does the sample actually work with CiviMail 1.9?  (Read 1417 times)

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
Does the sample actually work with CiviMail 1.9?
December 29, 2007, 07:52:01 pm
I've just configured CiviMail using Shane's UAS service, and want to do a quick test message.  I got errors on my first try, so followed the link to the Sample page:

http://wiki.civicrm.org/confluence/display/CRMDOC/Sample+CiviMail+Messages

So naively, I pasted the text sample from that page into the edit window, and I still get the following error:

Please correct the following errors in the form fields below:

    * The following errors were detected in html message:
          o This message is missing a required token - {action.optOut}: Creates a link for recipients to opt out of receiving emails from your organization.
          o Invalid token code {action.optout}

If you look in the text sample, you'll see that it does have the {action.optOut} token.

What am I missing here?

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Does the sample actually work with CiviMail 1.9?
December 29, 2007, 09:16:22 pm
Here is the set of tokens that I'm testing with (with my domain, email, names etc used)(note my custom field #28):
Code: [Select]
<pre>Hi {contact.first_name}

Welcome to ......
{contact.first_name} {contact.last_name}<br>
Phone: {contact.phone}<br>
Email: {contact.email}<br>
Address: {contact.street_address}<br>
City: {contact.city}, {contact.state_province}  {contact.postal_code}-{contact.postal_code_suffix}<br>
County: {contact.custom_28}<br>

email senders name
<a href="mailto:sendersemailaddress@example.com</a><br>
my phone number<br>
{domain.address}<br>
<a href="{action.optOut}"> Opt Out</a><br>

<a href="{action.unsubscribe}">UnSubscribe</a><br><br>

<a href="{action.unsubscribeUrl}">Unsubscribe URL</a><br>
<a href="{action.resubscribeUrl}">Resubscribe URL</a><br>
<a href="{action.optOutUrl}">OptOut URL</a><br>
<a href="{action.forward}">Forward</a><br>
<a href="{action.reply}">Reply by Email</a><br>
<a href="{action.subscribeUrl}">Subscribe URL</a><br>
<a href="{action.subscribeUrl.gid}">Subscribe URL group</a><br></pre>

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: Does the sample actually work with CiviMail 1.9?
December 30, 2007, 08:30:08 am

Rob:

Can you please reproduce this on demo and if u get the same error, please file an issue.

thanx

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) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Does the sample actually work with CiviMail 1.9?

This forum was archived on 2017-11-26.