This project is read-only.

<SmptServer> element

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" />

Last edited Nov 14, 2010 at 7:39 AM by markushastreiter, version 1


No comments yet.