Sending email messages as another user or group
In some environments, it may be required to allow users to send email messages from a mailbox as if the owner of that mailbox had actually sent that message. This can be accomplished by granting Send-As
permissions to a user on a particular mailbox. In addition, you can also allow a user to send email messages that are sent using the identity of a distribution group. This recipe explains how you can manage these permissions from the Exchange Management Shell.
How to do it...
To assign Send-As
permissions to a mailbox, we use the Add-ADPermission
cmdlet:
Add-ADPermission "Frank Howe" '-User "Eric Cook" '-AccessRights ExtendedRight '-ExtendedRights "Send As"
After running the previous command, Eric Cook
can send messages from the mailbox of Frank Howe
.
How it works...
Using the Add-ADPermission
cmdlet, you start by specifying the object to which you will set permissions on. Unlike many of the Exchange cmdlets, you cannot use the alias of the mailbox...