• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1771
  • Last Modified:

SSIS: Send Mail Task sending emails multiple times

Hi All,

I have a Send Mail Task as an event (On Error) to an Execute Package Task.

During testing when the Execute Package Task fails it rightly triggers the Send Mail Task to send an email to my account. However, instead of send the email once it sends it 6 times all at the same time as record in the received column in Outlook.

I don't know why it should be doing this (as in effect these multiple emails are spams).

Thanks,

OS
0
onesegun
Asked:
onesegun
1 Solution
 
onesegunAuthor Commented:
Ok I found the solution myself.

Instead of using On Error I have used On Task Failed.

OS
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now