Re: emailing attachments

From: Amber Earles (amber_at_pcpoll.com)
Date: 01/11/05


Date: Mon, 10 Jan 2005 17:36:08 -0600

Thank you very much. I will check out the link. From the sample code, it
looks like MAPI can create and send an email with attachments. Is that
correct? I was a little worried with interfacing directly with Outlook,
etc. just in case Outlook saw our program as a virus trying to control it.
I have seen Outlook come up with a message something like: an external
program would like access .... do you want to allow it .....

Are there any concerns with virus protection? In general, I am hoping to
create a very simple auto email program. I have a small program that
connects with our software package and zips up the paradox files to archive
them. I have the archive program setup to archive, on open with the task
scheduler. Then I want to set it up to auto email the data files either to
us, for Tech support, or to a corporate/alternate location. Most of our
users are small chains that have 1-5 stores, but they may want the data sent
to their homes or to a corporate location. Most users do not have an IT
department. Just people trying to guess how to set things up. :)

Thanks for the help. Any other ideas would be great.

Amber

"Mike Shkolnik" <mshkolnik2002@ukr.net> wrote in message
news:41e2f502@newsgroups.borland.com...
> This sample will not work for most users from big companies
(proxy/firewall
> settings).
>
> As Shane suggested, use the any component for Simple MAPI - most mailers
> (Outlook, Outlook Express, The Bath etc) supports the Simple MAPI:
> http://www.scalabium.com/mapimail.htm
>
> --
> With best regards, Mike Shkolnik
> E-mail: mshkolnik@scalabium.com
> WEB: http://www.scalabium.com
>
> "Amber Earles" <amber@pcpoll.com> wrote in message
> news:41e2b749$1@newsgroups.borland.com...
> > Thank you. I did a little searching online. What do you think about:
> > http://delphi.about.com/od/internetintranet/l/aa020304a.htm
> >
> >
> > Amber
> >
> >
> > "Shane Stump" <ShaneStumpNOSPAM@StumpWare.com> wrote in message
> > news:41e2af42@newsgroups.borland.com...
> > > The easiest way is by using MAPI.
> > >
> > > There are several components available, but I would recommend you
check
> > out
> > > Mike Shkolnik's MAPI component at his web site :
> http://www.scalabium.com.
> > >
> > > Best Regards,
> > >
> > > Shane
> > > www.StumpWare.com
> > >
> > >
> > > "Amber Earles" <amber@pcpoll.com> wrote in message
> > > news:41e2aeb1$1@newsgroups.borland.com...
> > > >I was wondering if anyone had an recommendations on how to generate a
> > > > general email, using the user's default email program, and add an
> > > > attachment. To just generate an email I could use a shellexecute
> > command,
> > > > but I do not think that will work with attachments. Any simple
ideas
> to
> > > > work on most systems? I know that if the user uses an online email
> > > > service
> > > > like hotmail we are out of luck, unless there are easy ways to
handle
> > > > those
> > > > situations. Thank you for your time and help.
> > > >
> > > > Amber
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: SaveChanges problem
    ... Say you wrap up the sample code as a function: ... Just to be sure that problem is reproduced with pure Outlook and your ... that no MAPI code is used here - it's all using OOM. ... so it can't have anything to do with a leak in my code. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: emailing attachments
    ... As Shane suggested, use the any component for Simple MAPI - most mailers ... (Outlook, Outlook Express, The Bath etc) ... "Amber Earles" wrote in message ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: SaveChanges problem
    ... Say you wrap up the sample code as a function: ... Just to be sure that problem is reproduced with pure Outlook and your ... that no MAPI code is used here - it's all using OOM. ... so it can't have anything to do with a leak in my code. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: SaveChanges problem
    ... Just to be sure that problem is reproduced with pure Outlook and your ... though I also tried modifying a custom MAPI ... Edit the sample code to use the entry ID selected. ... so it can't have anything to do with a leak in my code. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: How to replace an attachment from a file.wav to a winmail.dat
    ... And it will not have Outlook installed on. ... when the code tries to convert back from MAPI to MIME using the ... we created one stream object with the contents of the file using the ... and we created the new tnef stream using the OpenTnefStreamEx ...
    (microsoft.public.win32.programmer.messaging)