473,320 Members | 1,867 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,320 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 1838
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.