Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

-Body <String>
The body of the e-mail. By default the body is plain text.
When using HTML e-mail consider to use using the -BodyAsHtml switch.

Required?true
Position?6
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Credential <PSCredential>
The credential including user name and password of the account that authenticates with the SMTP mail server.
This parameter hqs has to be specified for SMTP mail servers that require authentication.

A credential object can be created like this:
$mailCredential = New-Object System.Net.NetworkCredential( "info@sos-berlin.com", "secret" )

...

Timeout

-Timeout <Int32>
The timout timeout in milliseconds that JS7 will wait for the connection to the mail server to be established.

Default: 15000

...