SYNOPSIS

Generated reference for the Get-FluxEmailSmtpClient Flux PowerShell command.

SYNTAX

Get-FluxEmailSmtpClient -Host <string> -Port <int> [-EnableSsl <bool>] [-NetworkCredential <NetworkCredential>] [<CommonParameters>]

DESCRIPTION

This reference page is generated from the Flux PowerShell module metadata. It documents the command contract while narrative help content is completed.

EXAMPLES

See related use-case and administrator documentation for workflow examples.

PARAMETERS

-EnableSsl

Enable SSL connection to the SMTP Server

Type: Nullable`1
Parameter Sets: (All)
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Host

Host name used to connect to the SMTP Server e.g., smtp.mapdojo.com

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

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

-NetworkCredential

Network Credential to use to connect to SMTP Server (Leave blank to use anonymous credentials, which is required for SMTP Relay)

Type: NetworkCredential
Parameter Sets: (All)
Aliases: None

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Port

Port used to connect to the SMTP Server e.g., 587

Type: Int32
Parameter Sets: (All)
Aliases: None

Required: True
Position: Named
Default value: None
Accept pipeline input: False
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

None

OUTPUTS

System.Net.Mail.SmtpClient

NOTES

Generated from the Flux PowerShell module.