🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16972

Create an email w/body

#16972
From: d.f.s.
Date: Fri, 18 Apr 2003 03:13
29 lines
1750 bytes
Hi folks;

I've got my application to bring up my
default email, OE in my case, with a
blank address line, and filled in
subject. So far so good! What I really
want to do is fill the body with the
contents of a TMemo.

I've got ~1k of text which causes an
access violation on the call to
ShellExecute( mailto ...). OE takes
short amounts of text this way, but
screws up the formating by ignoring the
tabs & returns in the text from the
TMemo. So I'm going to have to do some
proccessing here. But that will be a
waste of time if there is a limit on the
size of what I can pass via
ShellExecute( mailto ...).

My other thought was to bring up OE's
new mail window, find the handle, then
the DC of the message area and TextOut
to it. Can this be done? Any other
ideas?

Thx & Happy Easter all.
Drew
Technical Details
Message-ID: <3e9f6cd3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!216.166.71.14.MISMATCH!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6f8758d47ff40d07,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-17 20:26:21 PST
From: "d.f.s." <dfs@none.none>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Create an email w/body
Date: Thu, 17 Apr 2003 20:13:25 -0700
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 64.180.62.231
Message-ID: <3e9f6cd3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050635475 64.180.62.231 (17 Apr 2003 20:11:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!216.166.71.14.MISMATCH!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail