Auto message generation with attached file

  • Thread starter Thread starter lance.johnson
  • Start date Start date
L

lance.johnson

We are wanting to automatically bring up an outlook message that
contains an attached file from our application. The idea behind it is
that our users can simply click a button on our application and the
output file we generate will be automatically addressed and ready to be
sent through their configured outlook. The bad news about all this is
out app is written in Java. Do any of you guys have any ideas about
how we can do this?

I couldn't find any simple command line options for attaching a file,
so a programming approach seems to be the only option. I have seen a
few Java-COM bridges out there. Is it possible to even do this through
outlook's COM objects? If so does anyone have any direction they can
point me in to investigating these objects (I stink at win32
programming).

I also thought about creating a vb script that I can run through
windows scripting host executable. This would get us around having to
buy a VC++ distribution to create our interface with outlook.

We use our application internally so we are standardized on winXP
(still have a few 2k but will be gone soon) and outlook, so we don't
need to worry about conforming to any other email applications or OS.

I didn’t see a general programming forum so I hope this post is in an
ok spot. If you think it would be better answered elsewhere let me
know where.

Lance
 
We are wanting to automatically bring up an outlook message that
contains an attached file from our application. The idea behind it is

Did you look into VBA? It may have enough functions for what you are
trying to do.

Alex
 
Back
Top