πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: demon.ip.cppnews
1 messages
1 total messages Started by Siva Kumar Thu, 14 Oct 1999 00:00
How to bring up the default email program in the user's computer
#132
Author: Siva Kumar
Date: Thu, 14 Oct 1999 00:00
16 lines
1476 bytes
Dear Friends,
                       I need your help in cracking the code for a error
message dialog component that I created in Borland C++ Builder 4.0  The
component takes error message and title as parameters and displays in a
memo. Basically the component is made of a form with a memo and a bunch of
images. When the user clicks mail image, I want the component to bring up
the default email program in userοΏ½s computer with a default TO address and
error message in the body of the mail message. I used the following code
which did everything except putting the error message in the body of the
mail message. Can somebody help me in this?.

AnsiString emailaccount = "mailto:siva@acornsys.com;
ShellExecute(0, NULL, emailaccount.c_str(), NULL, NULL, SW_NORMAL);

Thank you very much for your time and effort.
Siva.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads