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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Give more control over opt-out/unsubscribe links in CiviMail messages
Pages: [1]

Author Topic: Give more control over opt-out/unsubscribe links in CiviMail messages  (Read 3085 times)

m.e.

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.0.9
  • CMS version: Drupal 7.9
Give more control over opt-out/unsubscribe links in CiviMail messages
December 06, 2011, 08:59:08 am
Currently (4.0.9) CiviMail refuses to accept a message that lacks an unsubscribe or opt-out token/link. On our site, opting out of e-mail is handled in a different way -- via a Webform that communicates with CiviCRM via the Drupal module webform_civicrm. (The Webform collects more data as well, not just the "do not email" field.)  We'd prefer to be consistent with our users about managing this option, but CiviMail has no flexibility in this regard. We'd like to see CiviMail configuration offer an option to force or not force the "official" opt-out method during mail creation, so that admins can deselect it. It might be a good thing to display a warning that every email should offer an unsubscribe/opt-out option to the recipient.

For those who choose to keep the built-in opt-out link, the opt-out page itself is pretty confusing and uninformative -- it doesn't make it clear that "opting out" means NO MORE EMAIL. I would suggest that the settings of this page be configurable so that the title and wording can be customized. If this is too much of an upgrade, the following wording would be preferable, IMO:

Page header: Opt out of future e-mails

Page content: If you press CONTINUE, the record associated with e-mail address
Code: [Select]
<b>{contact.email}</b> will be marked "DO NOT E-MAIL" and future messages will not be received. [If you only want to change your e-mail address, you can
Code: [Select]
<a href="/user/">do that here</a>.]

Buttons: CONTINUE, CANCEL
« Last Edit: December 06, 2011, 09:01:48 am by m.e. »

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: Give more control over opt-out/unsubscribe links in CiviMail messages
December 06, 2011, 09:09:52 am

Would be great if you can submit a patch to make the necessary change to the wording on the page template and title. Seems like a relatively easy patch

I think we definitely should allow people to disable the required token checks via a hook. I'm not too sure about doing it via the UI, since some percentage of sites might choose to disable it without providing alternative ways and hence use civimail as a spam engine (not our prefered mode of operation)

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

m.e.

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.0.9
  • CMS version: Drupal 7.9
Re: Give more control over opt-out/unsubscribe links in CiviMail messages
December 06, 2011, 11:27:24 am
Is there a standard way to create a patch? I've never done this, although I've applied others' patches via command line. Developer documentation doesn't seem to have anything on this that I can find ...

Re: the spam issue - it makes sense to be cautious, but (...and maybe I'm missing something here...) it seems to me User #1 should own the ultimate responsibility re: permissioning, configuration, oversight of admins, etc.  If CiviMail is accessible by a user who abuses it to dispatch spam, the lack of an unsubscribe link is the least of the site's problems, IMHO.

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: Give more control over opt-out/unsubscribe links in CiviMail messages
December 06, 2011, 01:32:40 pm

u can find more info on patches here: http://drupal.org/patch and other places on the web

regarding the optional unsub/opt-out issue if someone is interested in providing a patch for that, they can file an issue and attach a patch. Other folks could then potentially use that patch.

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

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Give more control over opt-out/unsubscribe links in CiviMail messages
January 04, 2012, 06:28:07 am
M.E. That is a clever use of webform. I may pursue something similar on our site in the future, in which case I could provide a patch. But it's not the #1 priority at the moment.
Try asking your question on the new CiviCRM help site.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Give more control over opt-out/unsubscribe links in CiviMail messages
January 31, 2012, 04:54:17 pm
Another possible workaround - use the redirect drupal module to hijack the civicrm unsubscribe page and send them over to the webform. Might work.
Try asking your question on the new CiviCRM help site.

Tiffani Chin

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Give more control over opt-out/unsubscribe links in CiviMail messages
March 11, 2012, 05:22:20 pm
This thread has been quiet for a while -- but I've been thinking about the same topic.

I've got a webform that allows people to opt in and out of mailing lists (many thanks colemanw for your wonderful webform integration -- easy to use even for a newbie like me!).

And, I just figured out that I can modify the "optout" template.  So, I'm thinking of just redirecting them to the webform from a modified template and then they can control their email settings from there.  It's involves an unnecessary step, but at least it prevents students (who have already signed up for this program and really do need to get some of the emails) from opting out entirely.

One thing I would love to do, but am not sure how, would be to provide a link that would log them into their drupal account (which is linked, obviously to their civi account).  Any thoughts on how to create that token?


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: Give more control over opt-out/unsubscribe links in CiviMail messages
March 11, 2012, 06:42:27 pm
You know about using checksums (which sidestep logging in)?
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

Tiffani Chin

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 2
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Give more control over opt-out/unsubscribe links in CiviMail messages
March 12, 2012, 09:54:13 am
No, I have not played with checksums -- but now you've given me something else to look into!  Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Give more control over opt-out/unsubscribe links in CiviMail messages

This forum was archived on 2017-11-26.