I created a nice un/subscrube form using the excellent CiviCRM Webform module for Drupal. Now I would like to send mailings with CiviMail and include a link to my webform as the unsubscribe option.
However, CiviMail refuses to send my mailing unless I include the token action.unsubscribeUrl
or action.optOutUrl
in the content of my mailing.
What is the proper way to set my webform URL as my action.unsubscribeUrl
?
Background discussion here. I realize there is a change that will be committed soon that will allow a token to exempt a mailing from this requirement. https://issues.civicrm.org/jira/browse/CRM-16062