Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: Sending email with default email program.

www.cryer.info
Managed Newsgroup Archive

Re: Sending email with default email program.

Subject:Re: Sending email with default email program.
Posted by:"Richard Jenkins" (richardnowhere.com)
Date:Sat, 3 Mar 2007 14:07:08

It requires the MAPI library to be configured properly on a computer (which
does not seems to be always the case).  It is not on my computer and when I
try to send a message, I get an error message:

    "You don't have a Simple MAPI compatible mailer installed."

However, I have several programs on my computer that are able to correctly
connnect to my default email program (eudora) just like a MAPI call would
do.  How are they doing this?

Richard


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:45e8a58f$1@newsgroups.borland.com...
>
> "Richard Jenkins" <Richard(at)nowhere.com> wrote in message
> news:45e88a5e$1@newsgroups.borland.com...
>
>> I would like to allow a user to send a message with an attachment
> using
>> the default email program (Outlook, Outlook Express, Eudora, etc.).
>
> You need to use SimpleMapi/MAPI for that.  Look at MapiSendMail() and
> related functions and structures in Microsoft's documentation.
>
>> I don't want the message to be sent automatically or to provide the
> email adress.
>
> SimpleMapi/MAPI can do that.
>
>
> Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive