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
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.
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" <ho***************@holy.snapping.com> wrote in message
news:84**********************************@microsof t.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.
~~~~~~~~~~~~~~~~~~