Модератор: Ramzes
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network defaultCredentials="false" userName="username" password="password" host="smtp.server.ru" port="25"></network>
</smtp>
</mailSettings>
</system.net>
<system.web>
<healthMonitoring enabled="true" heartbeatInterval="0">
<providers>
<add
name="exampleMailWebEventProvider"
type="System.Web.Management.SimpleMailWebEventProvider"
to="mail@server"
from="mail@server"
buffer="false"
subjectPrefix="WebEvent has fired"
/>
</providers>
<rules>
<add
name="Testing Mail Event Providers"
eventName="All Errors"
provider="exampleMailWebEventProvider"
profile="Default"
minInstances="1"
maxLimit="Infinite"
minInterval="00:01:00"
custom=""
/>
</rules>
</healthMonitoring>
</system.web>
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 31