473,378 Members | 1,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

outlook: can't get started

Experienced, but first time outlook programmer asks...

Each day I get an e-mail containing a gzipped tar archive as an attachment.
I'd like an automated way to (1) save the archive as-is in a particular
folder and (2) unpack the archive with gunzip & tar, either directly from the
mail message or from its saved location in step 1.

Sorry to ask such a vague question, but there seem to be a zillion ways to
think about doing this--outlook custom action, vba from inside outlook, .net
from outside outlook--and I need some direction on which way to go.

Completely unattended operation would be nice. It would be nice to trigger
on arrival of the message, but as the archive arrives at a predictable time
I'd also be satisfied to trigger on time of day.

Thanks for insight & direction,
Eric

Jul 21 '05 #1
1 1840
Eric,
There are lots of options to do what you want. Here are a number of links
that may help you.

Rather then tie myself to Outlook, I would consider creating a Windows
Service that can run in the background unattended. If I had Exchange Server,
I would consider running it on a server box, so a client PC would not need
to be running. You can still run a Windows Service on a client PC, I would
have it log in under my normal login account. Not sure if the OOM (Outlook
Object Model) will work, however CDO 1.2.1 does. With Exchange Server there
are other technologies available instead of CDO 1.2.1...

An alternative to a Windows Service would be to create a standalone program
that Task Scheduler started that used OOM to look for the file & process it.

For a discussion on selecting development technologies for Exchange Server,
start here:

http://msdn.microsoft.com/library/de...hsel_intro.asp

To avoid the Outlook security prompts its generally easiest to create a
properly constructed COM-Addin for Outlook 2003. There are other methods
available for other versions of Outlook...

See:
http://msdn.microsoft.com/library/de...scomaddins.asp

Further info can be found at:
http://www.slipstick.com/dev/ol2003problems.htm
http://www.slipstick.com/outlook/esecup/admin.htm
For a list of resources on using Outlook from VB.NET & C#:
http://www.microeye.com/resources/res_outlookvsnet.htm

For help & information on programming Outlook (mostly VB6, some VB.NET):
http://www.outlookcode.com/

Some samples of using Outlook with VB.NET:
http://msdn.microsoft.com/office/def...OLOMwVBNET.asp

A sample COM Add-in for Outlook written in VB.NET:
http://msdn.microsoft.com/library/de...hatsNew2k3.asp

Hope this helps
Jay
"Eric Nelson" <Er********@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
Experienced, but first time outlook programmer asks...

Each day I get an e-mail containing a gzipped tar archive as an
attachment.
I'd like an automated way to (1) save the archive as-is in a particular
folder and (2) unpack the archive with gunzip & tar, either directly from
the
mail message or from its saved location in step 1.

Sorry to ask such a vague question, but there seem to be a zillion ways to
think about doing this--outlook custom action, vba from inside outlook,
.net
from outside outlook--and I need some direction on which way to go.

Completely unattended operation would be nice. It would be nice to trigger
on arrival of the message, but as the archive arrives at a predictable
time
I'd also be satisfied to trigger on time of day.

Thanks for insight & direction,
Eric

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Eric Nelson | last post by:
Experienced, but first time outlook programmer asks... Each day I get an e-mail containing a gzipped tar archive as an attachment. I'd like an automated way to (1) save the archive as-is in a...
4
by: damian | last post by:
Help! I created a COM addin using vb.net based on the KB article 302896 (http://support.microsoft.com/default.aspx?scid=kb;en-us;302896). The problem is Outlook remains in memory when after it. I...
1
by: Eric Nelson | last post by:
Experienced, but first time outlook programmer asks... Each day I get an e-mail containing a gzipped tar archive as an attachment. I'd like an automated way to (1) save the archive as-is in a...
1
by: Eric Nelson | last post by:
Experienced, but first time outlook programmer asks... Each day I get an e-mail containing a gzipped tar archive as an attachment. I'd like an automated way to (1) save the archive as-is in a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.