Re: Sending email from a Delphi application



On Thu, 24 Aug 2006 17:46:00 GMT, "DIKonsult"
<dag.idoff@xxxxxxxxxxxxx> waffled on about something:

Hi,
can a beginner get some help with how to create emails from my Delphi 6 or
Delphi 2005 application.

I whant to create mail using the default mail client, MSOutlook/Lotus Notes
mail client which ever is set as the default mail client on the computer,
add recipients, subject, a body text and a file attachemnt and display it
for the user to send.

//Dag

That sounds like a job for MAPI. (it's an API)

Unfortunately I've never used it, I always generate emails internally
and send them from within my Delphi apps using the Indy idSMTP
component.

So do a google for Delphi MAPI.

http://www.delphifaq.com/faq/delphi/network/f236.shtml

Looks helpful.

Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES
.


Quantcast