Using a Send Mail task

gravatar

cell

This Send Mail task notifies an admin of a problem.

published 09.10.12

last updated 09.10.12


Share

                            


<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>
                        
You are not authorized to comment. A verification email has been sent to your email address. Please verify your account.

Comments

There are no comments yet.