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) »
  • Tokens
Pages: [1]

Author Topic: Tokens  (Read 2053 times)

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Tokens
July 06, 2007, 10:01:02 pm
Ok, I finally got everything set up right, as the test mailing I set up to go to several e-mail addresses of my own (some at my domain, Yahoo, etc.). However, there's something I haven't figured out yet.

I have the domain address set up right. I even got it formatted so it'll come out looking the way it did when we were sending out via Mailman:
Organization name  • P.O. Box  • City, State Zip • Phone

However, I don't quite understand the other two tokens - the ones for opt out and unsubscribe.

How are these supposed to work?

I clicked on one of them that came to one of the addresses that I subscribed. It sent an e-mail to the IMAP account that I set up to handle Civimail. But I think that's all it did.

Thanks! Now that I'm getting a handle on how to install this, I'm hoping to write an easy to understand how to for use on the site. The one I used was confusing, and left out at least one step (it forgets this file: imap2soap.conf - it says the settings go in imap2soap.pl). But I still need to figure out how a few more things work.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Tokens
July 07, 2007, 01:42:07 am
Quote from: jsimonis on July 06, 2007, 10:01:02 pm
However, I don't quite understand the other two tokens - the ones for opt out and unsubscribe.

How are these supposed to work?

I clicked on one of them that came to one of the addresses that I subscribed. It sent an e-mail to the IMAP account that I set up to handle Civimail. But I think that's all it did.

The addresses that replaced the tokens in the test mailings had uppercase words like QUEUE, right? These addresses do not work, but in a real mailing they would be replaced with addresses that have numbers instead of these uppercase words, and these would work (i.e., let people unsubscribe from a given mailing and opt-out from all mailings from your CiviMail).

Quote from: jsimonis on July 06, 2007, 10:01:02 pm
Thanks! Now that I'm getting a handle on how to install this, I'm hoping to write an easy to understand how to for use on the site.

Thanks! Most appreciated.
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.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Tokens
July 07, 2007, 01:59:29 am
They looked like this (I've replaced the correct domain with domain.org)

optOut.1.1.1.4085f9369a8e45276286e3130f81c2de7fc2b702@domain.org

When I clicked on the unsubscribe link, it sent an e-mail to the address that is set up to handle Civimail.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Tokens
July 07, 2007, 02:42:27 am
Ok, so they’re the proper ones. Now your mail-handling backend (either AMaViS, imap2soap or whatever you use) should handle this by routing it to CiviCRM’s SOAP interface.
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.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Tokens
July 07, 2007, 10:21:39 pm
I'm using the imap2soap script. However, this is where the directions seemed a bit off, and I'm not sure I've done everything correctly.

I got the script and the config file. I edited it to have the right passwords, and I have them in a folder.

But I'm not entirely sure what to do with them at that point.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Tokens
July 08, 2007, 12:42:31 am
Your best bet would be to contact the authors of imap2soap (either by checking our wiki page or by mailing civicrm-mail), but my guess is that this script is supposed to be run periodically (as a cronjob, for example), connect to the server that receives the CiviMail-bound mail (via IMAP) and push the emails matching the right patterns to CiviCRM’s SOAP interface.
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.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Tokens
July 08, 2007, 12:47:39 am
Thanks. I've tried going straight to the file myself in a browser or using a cron job to go to the file, but apparently that isn't right.

I've contacted them and asked them to look at this thread. That way they can see the discussion we've had thus far, and hopefully give some answers here that I"m sure others need as well.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Tokens

This forum was archived on 2017-11-26.