This receiver send a mail on each event it receive.
See Service Configuration for detailled information to configure your service. You must declare this receiver with the <receiver> section inside a <group> section. It will looks like :
<receiver name="MyReceiverName" type="LeCouteauSuisse.Components.MailReceiver,
LeCouteauSuisseComponents, Version=1.0.0.2, Culture=neutral, PublicKeyToken=8d1037c5df6d5bd0">
This component have some parameters inside the section <settings>. Each parameter is written with a <setting> section. This component is based on SmtpClient class of the Framework and can use a default configuration (See <mailSettings>).
Key name | Mandatory | Default value | Description |
smtpServer | No | See <mailSettings> | The name of the SMTP server. |
smtpPort | No | See <mailSettings> | The port of the SMTP server. |
toFormat | Yes | | The electronic mail addresses of recipients. |
toArguments | No | | The arguments to format toFormat. See Format parameters. |
fromFormat | No | See <mailSettings> | The electronic mail address of the sender. |
fromArguments | No | | The arguments to format fromFormat. See Format parameters. |
subjectFormat | No | | The subject of your mail. |
subjectArguments | No | | The arguments to format subjectFormat. See Format parameters. |
bodyFormat | No | | The body of your mail. |
bodyArguments | No | | The arguments to format bodyFormat. See Format parameters. |