dbTalk Databases Forums  

Email triggered task

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


Discuss Email triggered task in the microsoft.public.sqlserver.dts forum.



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

Default Email triggered task - 05-18-2004 , 07:48 AM






Hi,

I hope someone can help. I would like an SQL server 2000 dts
task(Transform data task) to be triggered by an email. Based on the
sender and the subject of the email I would like the task to start as
soon as the email is received.

Is this possible?

Thanks in advance

Reply With Quote
  #2  
Old   
Humberto
 
Posts: n/a

Default RE: Email triggered task - 05-18-2004 , 01:01 PM






Hi Loic

I believe it's possible, but you need to program an VBA macro in Outlook Professional (97-2003), this resource is only available in professional and developer edition. Just you compose a macro using a DTS Object Model, pass its parameters e call a "execute" method. One more thing, you need all objects of DTS Object Model installed on machine that will shoot the macro.

Reply With Quote
  #3  
Old   
Loic
 
Posts: n/a

Default Re: Email triggered task - 05-19-2004 , 01:58 AM



Thanks Humberto. I'll see if I can do that. I was hoping for something
more simple. Maybe a dts task could be scheduled to look for that
email every 30 mns, and when it finds it, triggers the other task.

Thanks again for your help.


"Humberto" <hsantiago (AT) wa (DOT) com.br> wrote

Quote:
Hi Loic,

I believe it's possible, but you need to program an VBA macro in Outlook Professional (97-2003), this resource is only available in professional and developer edition. Just you compose a macro using a DTS Object Model, pass its parameters e call a "execute" method. One more thing, you need all objects of DTS Object Model installed on machine that will shoot the macro.

Reply With Quote
  #4  
Old   
Frank Matthiesen
 
Posts: n/a

Default Re: Email triggered task - 05-19-2004 , 02:46 AM



Loic wrote:
Quote:
I hope someone can help. I would like an SQL server 2000 dts
task(Transform data task) to be triggered by an email. Based on the
sender and the subject of the email I would like the task to start as
soon as the email is received.

Is this possible?
Should be.
Look in SQL Books Online for sp_processmail

regards

frank
www.xax.de





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 - 2012, Jelsoft Enterprises Ltd.