Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: invoke email client

www.cryer.info
Managed Newsgroup Archive

Re: invoke email client

Subject:Re: invoke email client
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 25 Dec 2006 14:16:59

"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

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive