🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How Can I Preview an Email "To" Address

#1627
From: LarryJ
Date: Mon, 11 Dec 2006 11:19
20 lines
1643 bytes
I am working with the Net Master POP3 Demo that comes with BCB6.0. The demo 
uses the component NMPOP3 version 5.3.0 Build 1055. The demo can download 
the 4 summary email values,  "From", "Subject", "Size" and "Message ID". I 
need to look at the email's "To" address but To is not part of what this 
component includes in its summery. Is there a way I can preview the "To" 
address before an email is downloaded?


  NMPOP31->GetSummary(StrToInt(Edit5->Text));
  Edit6->Text = NMPOP31->Summary->From;
  Edit7->Text = NMPOP31->Summary->Subject;
  Edit8->Text = IntToStr(NMPOP31->Summary->Bytes);
  Edit9->Text = NMPOP31->Summary->MessageId;

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


Thanks
Larry Johnson 
Technical Details
Message-ID: <457d3e99$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d02e9551cb168dd1,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "LarryJ" <LarryJ33@austin.rr.com>
From: "LarryJ" <LarryJ33@austin.rr.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: How Can I Preview an Email "To" Address
Date: Mon, 11 Dec 2006 05:19:43 -0600
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 70.112.95.224
Message-ID: <457d3e99$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1165835929 70.112.95.224 (11 Dec 2006 03:18:49 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail