Solved

SSIS :Sending emails

Posted on 2011-03-25
2
404 Views
Last Modified: 2012-05-11
hi experts


I have created SSIS packages that transfers excel file to database.Now i want to do some event handling .My question is

I want to send email with full details where task failed (i want to send whole result) and does not want to send mails if the package execution is success.How to do this.

Need step by step process please
0
Comment
Question by:sqlcurious
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
fengq earned 500 total points
ID: 35218355
first, you need to setup email using SMTP server
http://blog.sqlauthority.com/2008/08/23/sql-server-2008-configure-database-mail-send-email-from-sql-database/

second, create an operator
http://technet.microsoft.com/en-us/library/ms175962.aspx
third,you can configure your SSIS task failure to send to that operator
0
 

Author Comment

by:sqlcurious
ID: 35218528
Thanks for your reply

how can i do using event handler in SSIS ? dont have permission to configure database mail server in my system
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question