Hi Nicholas,
Thank you very much for the tip.
I've developed the code and my application can already open the
Outlook window with the attachment on it. The stupid thing is that, in
order to send the e-mail I need to press the Alt+s keys, since the
send button does nothing.
I'm using Outlook 2003, is it a bug or am I missing something?
Best regards,
Gama Franco
"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in message news:<uJV3K9uCFHA.560@TK2MSFTNGP15.phx.gbl>...[color=blue]
> Gama,
>
> Why not query the user the address they want to send it to, and then use
> the SmtpMail class?
>
> If the email applications support MAPI, then you can probably access any
> of them through that interface. However, it might require a good deal of
> calls through either COM interop on your part, or the P/Invoke layer to
> access the API.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> -
mvp@spam.guard.caspershouse.com
>
> "Gama Franco" <Gama_Franco@clix.pt> wrote in message
> news:79d09fb0.0502041011.663d16e@posting.google.co m...[color=green]
> > Hi,
> >
> > I'm working on a project based in Windows Forms, and I need to open
> > the user's default e-mail client (a new e-mail) with some attachments
> > ready to send. Since the destination of the e-mail is unknow at this
> > point I can't send it using the SmtpMail.Send() method. And because of
> > the attachments I'm not able to open the new e-mail using the
> > "mailto:" technique.
> >
> > Is there any other way to solve this problem keeping in mind that the
> > user may not be using Outlook as his default e-mail client?
> >
> > Best regards,
> > Gama Franco[/color][/color]