Answers.Body: <p>The problem with the <code>{action.optOutUrl}</code> token is that generates a url which is linked to a send mass mailing. </p>
  
  <p>When CiviRules sends an e-mail it is not a mass mailing but an inidvidual one. Send to one specific contact at the time. </p>
  
  <p>I could understand that you want some sort of link to a profile/optout page. One way to do that is probably create a profile page and link to that page from within the e-mail you send from CiviRules. </p>
  
  <p>Did you solve the issue yourself? If so how?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-13T13:00:25.843Z
Answers.Text: I am using GDPR module & civirules to receive subscription/unsubscribe. What I have noticed is missing an option in civirules - "privacy prefrerence" - NO BULK MAIL. I think that would solve the issue.
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T12:18:43.733Z
Answers.LastActivityDate: 2018-06-13T12:18:43.733Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>I tested an email template via CiviMail and the unsubscribe link works and the HTML shows it. In the source it comes up as  </p>
  
  <pre><code>&lt;a href="{action.optOutUrl}" style="text-decoration: none; color:
  #fffffe;" target="_blank"&gt;Unsubscribe here.&lt;/a&gt;
  </code></pre>
  
  <p>But if the same email template is triggered &amp; sent via CiviRules (you can choose the template along with rules and conditions on how to trigger it), the tag shown above gets stripped out leaving just the text "Unsubscribe here" which has no link - just text! So no one can actually unsub.</p>
  
  <p>Does anyone know how to deal with this? Is there a way to just use the link without using the token? I went through the CiviCRM documentation and didn't find what I was looking for :(</p>
  
  <p>I tried the different versions of the tokens related to unsubscribe/opt out but no joy.</p>
  
  <p>Cheers</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-20T11:53:03.187Z
Comments.Text: I have also added your problem on the CiviRules GitHub repo: https://github.com/CiviCooP/org.civicoop.civirules/issues/163
Comments.UserDisplayName: ErikH - CiviCooP
Tags: <civimail><civirules>
Title: Email sent via CiviRules removes unsubscribe token from email template
ThreadText: # Email sent via CiviRules removes unsubscribe token from email template
  
  (Asked by: username_0 on 2017-09-20)
  
  I tested an email template via CiviMail and the unsubscribe link works and the HTML shows it. In the source it comes up as
  
  ```
  <a href="{action.optOutUrl}" style="text-decoration: none; color:
  #fffffe;" target="_blank">Unsubscribe here.</a>
  
  ```
  
  But if the same email template is triggered & sent via CiviRules (you can choose the template along with rules and conditions on how to trigger it), the tag shown above gets stripped out leaving just the text "Unsubscribe here" which has no link - just text! So no one can actually unsub.
  
  Does anyone know how to deal with this? Is there a way to just use the link without using the token? I went through the CiviCRM documentation and didn't find what I was looking for :(
  
  I tried the different versions of the tokens related to unsubscribe/opt out but no joy.
  
  Cheers
  
  **Tags:** civimail, civirules
  
  > **Comments:**
  > **username_1**: I have also added your problem on the CiviRules GitHub repo: https://github.com/username_1/org.username_1.civirules/issues/163  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-06-13. Score: 1
  
  The problem with the `{action.optOutUrl}` token is that generates a url which is linked to a send mass mailing.
  
  When CiviRules sends an e-mail it is not a mass mailing but an inidvidual one. Send to one specific contact at the time.
  
  I could understand that you want some sort of link to a profile/optout page. One way to do that is probably create a profile page and link to that page from within the e-mail you send from CiviRules.
  
  Did you solve the issue yourself? If so how?
  
  > **Comments:**
  > **username_3**: I am using GDPR module & civirules to receive subscription/unsubscribe. What I have noticed is missing an option in civirules - "privacy prefrerence" - NO BULK MAIL. I think that would solve the issue.  
  
  ---
  
  