Recently, we had a requirement to send email to customers using a generic email address like donotreply@domain.com from Dynamics CRM (& Exchange Online).
The way we can implement this is through Shared Mailbox and Queue in CRM Online.
Log in to the Administration Portal
https://portal.office.com/adminportal/home#/homepage
Select Shared mailboxes
Members can be added to the Shared Mailbox
Now back in CRM assign the email id to a particular queue.
Now sending an email activity with From…