Cmdlets for Email

Build 23.0.8839

SMTPServer Parameter (Connect-Email Cmdlet)

The name or address of the mail server (SMTP server).

Syntax

Connect-Email -SMTPServer string

Data Type

cstr

Default Value

""

Remarks

This property specifies the IP address or domain name of the mail server. It must be set before a connection is attempted and cannot be changed once a connection is in progress.

If this property is set to a domain name, a DNS request is initiated.

If the connection is configured to use a SOCKS firewall, the value assigned to this property may be preceded with a "*". If this is the case, the host name is passed to the firewall unresolved and the firewall performs the DNS resolution.

This is a required parameter.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839