Hi, @Mohd Ajaz Khan
As mentioned in the article you provided, in Exchange Online this may involve creating mail flow rules. To do this, you need to go to the Exchange Admin Center as an administrator, navigate to Mail Flow, and modify your mail flow rules as shown below.
Unfortunately, in Exchange Online, mail flow rules can't detect Bcc recipients directly. This is because the Bcc recipient's information is hidden during the mail transmission process and cannot be accessed by the mail flow rules.
Maybe that's what you're looking for. Configure S/MIME in Exchange Online | Microsoft Learn
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".