-
Notifications
You must be signed in to change notification settings - Fork 2
SmptServer element
Markus Hastreiter edited this page Mar 23, 2019
·
3 revisions
The <SmptServer> defines an Smtp server used for sending e-mails.
This element is defined outside of all instruction and condition elements. See the example configuration file provided with the download package.
| Attribute name | Status | Default | Description |
|---|---|---|---|
| Host | mandatory | The name or IP address of the host used for SMTP transactions. | |
| Name | optional | A user friendly name for this smtp server. At the moment not used by RepoCop (later you will be able to specify multiple mail servers). | |
| Port | optional | The port to be used to connect to the smtp server. If you don't specify a port, remarks mentioned in the SmtpClient documentation apply. |
<SmtpServer Host="localhost" />