API Reference
Function
EmailBCC
Creates an email object for blind carbon copy (BCC) recipients.
Remarks
This function creates an email object specifically for blind carbon copy (BCC) recipients. It takes an array of email addresses and returns a custom object representing the BCC recipients.
Examples
EXAMPLE 1
$BCCRecipients = EmailBCC -Addresses 'bcc1@example.com', 'bcc2@example.com'
Creates an email object with two BCC recipients.
EXAMPLE 2
$BCCList = 'bcc1@example.com', 'bcc2@example.com'
$BCCRecipients = EmailBCC -Addresses $BCCList
Creates an email object with multiple BCC recipients.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
EmailBCC [-Addresses <String[]>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Addresses String[]
- Specifies an array of email addresses for the BCC recipients.