Well, .NET will let you send messages programmatically, but if you want to
use the user's default mail client that probably won't help you. You'll need
to figure out how to automate it.
I'm sure it's possible with Outlook and most MAPI-compliant clients; dunno
about Eudora.
--
Klaus H. Probst, MVP
http://www.vbbox.com/ [quoted text, click to view] "holysnappingducks" <holysnappingducks@holy.snapping.com> wrote in message
news:9AA8A516-5A88-459E-AD22-215CCC434C69@microsoft.com...
> thanks for the input ppl,
> the MailAttachment class is the way to go (constructing a MailMessage etc,
etc.) but my dilemma then shifts to how to discover/execute the default
email client. In fact I have tried this b4 and came to the conclusion that
the real problem lies in executing the default client correctly once
discovered. I ended up with a lengthy case statement with all the different
possible mail clients out there (eudora, outlook, outlook express, etc.) and
proceeded to figure out how each accepts command line arguments. I guess I
was hoping there was an easier/more correct way of achieving this end. As
for the
[quoted text, click to view] > article I found at:
http://www.adobe.com/products/acrobat/access_email.html -- I dont think
this will be an efficient enough process as the amount of emails will
potentially be quite large (corporate reporting system converting crystal
reports into a .pdf to reduce their size). Anyway Im contemplating insisting
all our clients use a particular mail client for use with our software.
[quoted text, click to view] >
> Thanks again Cor and Klaus :D
> --
> ~~~~~~~~~~~~~~~~~~
> Just do it again.
> ~~~~~~~~~~~~~~~~~~
>
>
> "Klaus H. Probst" wrote:
>
> > Like Cor said, you won't be able to do it with a simple mailto: handler.
> >
> > Take a look at the System.Web.Mail.MailAttachment class.
> >
> > --
> > Klaus H. Probst, MVP
> >
http://www.vbbox.com/ > >
> >
> > "holysnappingducks" <holysnappingducks@holy.snapping.com> wrote in
message
> > news:846C977B-57C4-4939-9954-730D5FDD5824@microsoft.com...
> > > Hi all,
> > > I want to be able to send a .pdf to a default email client. Can I use
> > > the mailto expression to do this? Im not keen on digging around the
> > registry to 'discover' the default email client and using a
> > rocess.start() -- I guess thats my last resort. Just wondering if it is
> > possible to encode a .pdf file and add it to the body string.
> > >
> > > --
> > > ~~~~~~~~~~~~~~~~~~
> > > Just do something.
> > > ~~~~~~~~~~~~~~~~~~
> >
> >
> >