Skip to main content

Send-MSGraphMail

SYNOPSIS​

Sends a message using the Microsoft Graph API.

SYNTAX​

Send-MSGraphMail -Mailbox <String> -MessageID <String[]> [-Folder <String>] [<CommonParameters>]

DESCRIPTION​

Sends a previously created message using the Microsoft Graph API. The message can be sent from a folder, or from the root of the mailbox.

EXAMPLES​

PARAMETERS​

-Mailbox​

Specify the mailbox (or UPN) to move emails for.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-MessageID​

Retrieve a single message using a message ID.

Type: String[]
Parameter Sets: (All)
Aliases: id

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Folder​

Retrieve from folder.

Type: String
Parameter Sets: (All)
Aliases: parentFolderId

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

A powershell object containing the response.​

NOTES​