Article View: demon.ip.cppnews
Article #132How to bring up the default email program in the user's computer
From: Siva Kumar
Date: Thu, 14 Oct 1999 00:00
Date: Thu, 14 Oct 1999 00:00
16 lines
1476 bytes
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.
Technical Details
Message-ID:
<ZdpN3.273$4w1.14170@news.flash.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f925e,d059c2619ab123e2,start X-Google-Attributes: gidf925e,public From: "Siva Kumar" <siva@acornsys.com> Subject: How to bring up the default email program in the user's computer Date: 1999/10/14 Message-ID: <ZdpN3.273$4w1.14170@news.flash.net> X-Deja-AN: 536760507 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 939925497 209.30.67.197 (Thu, 14 Oct 1999 13:24:57 CDT) Organization: FlashNet Communications, http://www.flash.net NNTP-Posting-Date: Thu, 14 Oct 1999 13:24:57 CDT Newsgroups: demon.ip.cppnews