Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: invoke email client
| Subject: | Re: invoke email client |
| Posted by: | "Peter" (peace39..@yahoo.com) |
| Date: | Mon, 25 Dec 2006 23:15:17 |
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:45904ddf$1@newsgroups.borland.com...
>
> "Peter" <peace3977@yahoo.com> wrote in message
> news:4590045a$1@newsgroups.borland.com...
>
>> What's an easy way to invoke the default email client from a Delphi app
>> with some parameters set, i.e mailto:to=joe@mail.com,subject=news?
>
> The "mailto" protocol does not natively support parameters, and any
> per-client support for them is non-standard, and thus work differently in
> different clients. To do what you are asking, you should use SimpleMapi.
> Look at the MapiSendMail() function and related structures.
>
>
> Gambit
>
>
I would actually prefer if the email client was started. I am happy with a
Windows only solution that works to invoke Outlook Express. So how to I
start OE from Delphi, and pass it at least the email address to send to?