Answers.Body: <p>Sounds as if you may the ‘Hashed Mailing URL's’ option selected in your CiviMail Component Settings –</p>
  
  <p>Administer > CiviMail > CiviMail Component Settings</p>
  
  <p>/civicrm/admin/setting/preferences/mailing?reset=1</p>
  
  <p>If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-29T19:50:23.660Z
Answers.Text: I have the "Hashed Mailing URL's" setting set, but it should still show publicly, just with the hash. Oddly it only effects 1 mailing, the rest are shown in public view just fine with a hash.
Answers.UserDisplayName: Andy Burns
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-03T11:38:08.967Z
Answers.LastActivityDate: 2019-07-03T11:38:08.967Z
Answers.UserDisplayName: Anil
Body: <p>Drupal 7.67, CiviCRM 5.13.5</p>
  
  <p>Hey everyone,</p>
  
  <p>Trying to view a mailing I've sent through CiviCRM before. I'm logged in with my admin account with all permissions granted. </p>
  
  <p>I've navigated to the specific sent mailing > View Report > Mailing Settings > Public URL. Clicking on that URL gives an "Access Denied" error. </p>
  
  <p>All the mailings I send have "Public Pages" set as the Mailing Visibility (under Publication on the specific mailings). I've also double checked and I do have the "CiviMail: view public CiviMail content" checked for all roles.</p>
  
  <p>Any ideas on how I can fix this? </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-03T11:12:16.473Z
Comments.Text: Defintely sounds like a permissions issue
Comments.UserDisplayName: Sean Kenny
Tags: <drupal><civimail><permissions>
Title: Public URL for CiviMail: access denied even for admin
ThreadText: # Public URL for CiviMail: access denied even for admin
  
  (Asked by: username_0 on 2019-07-03)
  
  Drupal 7.67, CiviCRM 5.13.5
  
  Hey everyone,
  
  Trying to view a mailing I've sent through CiviCRM before. I'm logged in with my admin account with all permissions granted.
  
  I've navigated to the specific sent mailing > View Report > Mailing Settings > Public URL. Clicking on that URL gives an "Access Denied" error.
  
  All the mailings I send have "Public Pages" set as the Mailing Visibility (under Publication on the specific mailings). I've also double checked and I do have the "CiviMail: view public CiviMail content" checked for all roles.
  
  Any ideas on how I can fix this?
  
  **Tags:** drupal, civimail, permissions
  
  > **Comments:**
  > **username_1**: Defintely sounds like a permissions issue  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-07-03. Score: 2 | Accepted answer
  
  Sounds as if you may the ‘Hashed Mailing URL's’ option selected in your CiviMail Component Settings –
  
  Administer > CiviMail > CiviMail Component Settings
  
  /civicrm/admin/setting/preferences/mailing?reset=1
  
  If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID
  
  > **Comments:**
  > **username_3**: I have the "Hashed Mailing URL's" setting set, but it should still show publicly, just with the hash. Oddly it only effects 1 mailing, the rest are shown in public view just fine with a hash.  
  
  ---
  
  