Answers.Body: <p>From UI you can set the contact email to 'On-hold' this will prevent contact from getting any automated email from CiviCRM. The other option is use to <a href="https://docs.civicrm.org/dev/en/latest/hooks" rel="nofollow noreferrer">mailing hooks</a> to abort emails being sent based on some flag set for the client.</p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-06T11:54:19.153Z
Answers.LastActivityDate: 2019-12-06T11:54:19.153Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p><a href="https://i.sstatic.net/bciTO.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/bciTO.png" alt=" E"></a>
  When a contact (dashboard) is edited, I see Communication Preferences as <br>the option where I can tick NO BULK EMAILS or under Privacy "Do not mail" <br>
  Will that stop the emails from being sent during scheduled reminders(ran<br> through CRON)<br>
  Where is the code for the same located in the CiviCRM core? Can I add<br> event subscriber to it ?<br>
  I am using sendgrid as Mailer</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-06T06:15:20.703Z
Comments.Text: There's a related discussion here: https://lab.civicrm.org/dev/core/issues/1378. According to that, currently they WILL receive cron scheduled reminders for "Do Not Mail".
Comments.UserDisplayName: Demerit
Tags: <email><scheduled-reminders><opt-out>
Title: How to prevent CiviCRM contact from receiving emails for Scheduled Reminders
ThreadText: # How to prevent CiviCRM contact from receiving emails for Scheduled Reminders
  
  (Asked by: username_0 on 2019-12-06)
  
  [![ E](https://i.sstatic.net/bciTO.png)](https://i.sstatic.net/bciTO.png)
  When a contact (dashboard) is edited, I see Communication Preferences as   
  the option where I can tick NO BULK EMAILS or under Privacy "Do not mail"   
  Will that stop the emails from being sent during scheduled reminders(ran  
   through CRON)  
  Where is the code for the same located in the CiviCRM core? Can I add  
   event subscriber to it ?  
  I am using sendgrid as Mailer
  
  **Tags:** email, scheduled-reminders, opt-out
  
  > **Comments:**
  > **username_1**: There's a related discussion here: https://lab.civicrm.org/dev/core/issues/1378. According to that, currently they WILL receive cron scheduled reminders for "Do Not Mail".  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-12-06. Score: 2
  
  From UI you can set the contact email to 'On-hold' this will prevent contact from getting any automated email from CiviCRM. The other option is use to [mailing hooks](https://docs.civicrm.org/dev/en/latest/hooks) to abort emails being sent based on some flag set for the client.
  
  HTH
  
  Pradeep
  
  
  ---
  
  