dbTalk Databases Forums  

How to get a DTS package run to be triggered by a email

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to get a DTS package run to be triggered by a email in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karen Middleton
 
Posts: n/a

Default How to get a DTS package run to be triggered by a email - 03-18-2005 , 11:27 AM






I have a scenario where the data to be loaded into SQL comes in a
email.
The business is asking me to build a package that will enable the
email to trigger a DTS package which must be able to take the
attachment coming as part of the email and process the file.

Kindly advice how this can be done.

Thanks
Karen

Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: How to get a DTS package run to be triggered by a email - 03-18-2005 , 11:53 AM






If you use Ms Outlook you can define a rule that monitor the inbox folder
and calls some VBA code (see http://www.outlookcode.com/d/code/zaphtml.htm
for an example ) that saves the attachment in a definite folder and then
calls your DTS via DTSRUN.
Or you can write a program if you don't want to use an oulook rule and
DTSRUN.

Francesco Anti

"Karen Middleton" <karenmiddleol (AT) yahoo (DOT) com> wrote

Quote:
I have a scenario where the data to be loaded into SQL comes in a
email.
The business is asking me to build a package that will enable the
email to trigger a DTS package which must be able to take the
attachment coming as part of the email and process the file.

Kindly advice how this can be done.

Thanks
Karen



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.