Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 automate transfer of smtp mail attachments

Author  Topic 

seakay
Starting Member

1 Post

Posted - 2004-06-21 : 08:41:00
Hi
I have this problem where I need to detach txt mail attachments from smtp mail server transfer the contents of the txt files into corresponding tables into SQL server tables. How can this be done?
Thanks in advance.
seakay

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-06-21 : 19:56:12
I have done this before using Outlook 2000 - create a VBA macro to iterate through all the mail messages and detaching all attachments and saving them.

Read up on Outlook macro creation...

You could also do this using MAPI extensions. Not sure if you can call them from the ActiveX scripts in DTS, but you could always build a small app in VB/C/.net etc to accomplish this.
Go to Top of Page
   

- Advertisement -