Hi Robbie
The mailto protocol only supports setting the subject and the body of the
mail message and does not allow attaching a file. This link should help you.
http://msdn.microsoft.com/library/de...tworking/prede
fined/mailto.asp
--
Mike Sampson | VB .Net Deployment
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------[color=blue]
>From: Robbie De Sutter <Robbie.DeSutter.no.spam@ugent.be>
>Subject: Send e-mail message with attachment with the default e-mail[/color]
client?[color=blue]
>Date: Tue, 28 Oct 2003 21:58:03 +0100
>Message-ID: <MPG.1a08f6a29caed780989686@msnews.microsoft.com >
>MIME-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-15"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: MicroPlanet Gravity v2.60
>Newsgroups: microsoft.public.dotnet.languages.vb
>NNTP-Posting-Host: d515283cb.kabel.telenet.be 81.82.131.203
>Lines: 1
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:151443
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
>Hello,
>
>How do I open a new, empty e-mail message from the default e-mail client
>whereby the sender is given and a file is attached?
>
>Currently I use the command (vb.net):
>---
>System.Diagnostics.Process.Start("mailto:someone@ somewhere&subject=the%
>20subject")
>---
>to open an emtpy e-mail message form (the default e-mail editor of the
>user will be started) with the given subject "the subject" (%20 = space
>(this is URL encoded)) ready to send to "someone@somewhere".
>
>But how can I add a file attachment?
>
>Note: I am NOT looking for an SMTP engine. I am NOT looking to send e-
>mails directly without user interaction (= click on send).
>Also any sollution based on one specific e-mail client is NOT good. The
>solution must work in any possible e-mail configuration.
>
>tia,
> Robbie
>
>
>
>[/color]