Mautic Community Forums

What happened to MauticEmailBundleEntityDoNotEmail ?

I get:

Code:
PHP Fatal error: Class 'Mautic\EmailBundle\Entity\DoNotEmail' not found
How to use DonotEmail now?

BETTER QUESTION:
How to set a Donotcontact lead programmatically in a mautic plugin?

Thank you.

I get:

PHP Fatal error:  Class 'Mautic\EmailBundle\Entity\DoNotEmail' not found

How to use DonotEmail now?

BETTER QUESTION:
How to set a Donotcontact lead programmatically in a mautic plugin?

Thank you.