>Hello
>
>What I am trying to do is pop up the users default mail application from VB, and send a couple file attachments.
>
>I was told that it is not possible to send file attachments using the mailto URL.
>
>I tried using the MAPI controls that come with VB 5.0 but when I tried to send an E-Mail message, it prompted me for a profile, and then gave me the option of setting up a profile using the Microsoft Exhange Wizard. We are not using Microsoft Exchange here.
>
>I then found a VB application that would send E-Mail over the internet using the Winsock control. The problem that I have with this is that the application needs to know the name of the Host as well as the E-Mail address of the client sending the E-Mail message.
>
>All I want to do is send an E-Mail message to myself from within my VB application if an error is encountered.
>
>What would be the best way to accomplish this.
The simplest way is to use SMTP e-mail. There is a free component that you can download from
http://www.freevbcode.com/ShowCode.Asp?ID=109
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com