🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1629

Re: How Can I Preview an Email "To" Address

#1629
From: Hans Galema
Date: Mon, 11 Dec 2006 12:15
20 lines
1494 bytes
LarryJ wrote:

> I am working with the Net Master POP3 Demo that comes with BCB6.0. 

<thinks a lot and does not say anything>

> //This final line does not work. To is not part of Summary
>   Edit10->Text = NMPOP31->Summary->To;

In the help for TNMPOP3 there is:

  Memo2->Text = NMPOP31->Summary->Header->Text;

The header will contain the a line like:
To: "name" <emailaddress>

Think that NMPOP31->Summary->Header will be a TStringList so you
can loop throug its Strings[] easily.

Hans.
Technical Details
Message-ID: <457d4c09@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <457d3e99$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d02e9551cb168dd1
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 11 Dec 2006 13:15:01 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: How Can I Preview an Email "To" Address
References: <457d3e99$1@newsgroups.borland.com>
In-Reply-To: <457d3e99$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <457d4c09@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1165839369 145.98.201.248 (11 Dec 2006 04:16:09 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail