<Biml xmlns="http://schemas.varigence.com/biml.xsd">
<Connections>
<SmtpConnection Name="SmtpServerConnection" SmtpServer="smtp.yourcompany.com" EnableSsl="true"/>
</Connections>
<Packages>
<Package Name="FailureNotifier" ConstraintMode="Parallel">
<Tasks>
<SendMail
Name="Send Failure Mail Task"
ConnectionName="SmtpServerConnection"
FromLine="user@yourcompany.com"
ToLine="admin@yourcompany.com"
Subject="There is a problem"
Priority="High"
>
<DirectInput>A package has unexpectedly failed! Please investigate.</DirectInput>
</SendMail>
</Tasks>
</Package>
</Packages>
</Biml>
Using a Send Mail task
cell
This Send Mail task notifies an admin of a problem.
published 09.10.12
last updated 09.10.12

Comments
There are no comments yet.