Groups | Blog | Home
all groups > sql server dts > april 2004 >

sql server dts : Automating data insert from email attachment?



Jason
4/30/2004 7:10:04 AM
I work with a client who provides me daily updates of
data on their FTP site. I created a DTS package to load
this data on a nightly basis.

Now they will be sending a weekly email with some other
data that I will be responsible for inserting into our
SQL 2000 DB. For whatever reason they cannot post to an
ftp site.

So, I would like to automate a process that will insert
the data from the file in the email attachment. Is this
possible? Or, is there an easier way to automate?

Jason
4/30/2004 8:11:59 AM
Yes, it will be an attachment. Actually two .csv
attachments. Could you point me to a site where there
may be a tutorial on this? Thanks.
[quoted text, click to view]
Jason
4/30/2004 9:42:59 AM
Thanks Allan.

[quoted text, click to view]
Allan Mitchell
4/30/2004 3:23:53 PM
Will they be sending the data as an attachment?

If yes then can you

Filter the messages containing the data into a given mail folder
use the Outlook object model and check for the attachment
Save the attachment out to a folder on the file system.
Have the DTS package look inside this folder



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


[quoted text, click to view]

Allan Mitchell
4/30/2004 4:22:15 PM
I did a quick ggogle and this looks promising

http://groups.google.com/groups?q=automate%20attachment%20outlook%20save&hl=en&lr=&ie=UTF-8&oe=UTF-8&sa=N&tab=wg

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


[quoted text, click to view]

AddThis Social Bookmark Button