-
Notifications
You must be signed in to change notification settings - Fork 10
New GEmailSettingsSendasAlias
Deprectiation Notice: The Email Settings API is deprecated and will be turned off on July 7, 2017. Migrate to the Gmail API as soon as possible to avoid disruptions to your application. See the following URL for more information: https://developers.google.com/admin-sdk/email-settings/
Create a Google Mail send-as alias.
New-GEmailSettingsSendasAlias [-UserName] <String> [-Name] <String> [-Address] <String> [[-ReplyTo] <String>]
[[-MakeDefault] <Boolean>] [-Domain <String>] [-GAuthId <String>] [-WhatIf] [-Confirm]
Create a Google Mail send-as alias.
PS C:\> New-GEmailSettingsSendasAlias -UserName $SomeUserNameString -Name $SomeNameString -Address $SomeAddressString
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
The target Google Apps user.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseThe name that will appear in the "From" field for this user.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseThe email address that appears as the origination address for emails sent by this user.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseIf set, this address will be included as the reply-to address in emails sent using the alias.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseIf set to true, this alias will be become the new default alias to send-as for this user.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseThe target domain for this email settings cmdlet.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe GAuthId representing the gShell auth credentials this cmdlet should use to run.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: FalseThe target domain for this email settings cmdlet.
Part of the gShell Project, relating to the Google Email Settings API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads