---
title: create-mail-server
description: Creates Mail Servers.
component: pingds
version: 8.1
page_id: pingds:configref:subcommands-create-mail-server
canonical_url: https://docs.pingidentity.com/pingds/8.1/configref/subcommands-create-mail-server.html
---

# create-mail-server

Creates Mail Servers.

In addition to the global `dsconfig` options, the `dsconfig create-mail-server` subcommand takes the following options:

* `--server-name {name}`

  The name of the new Mail Server.

* `--set {PROP:VALUE}`

  Assigns a value to a property where PROP is the name of the property and VALUE is the single value to be assigned. Specify the same property multiple times in order to assign more than one value to it.

Properties used in options depend on the type of object to configure.

For details about available properties, see [Mail Server](objects-mail-server.html).
