Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages
Started by LarryJ
Mon, 11 Dec 2006 11:19
How Can I Preview an Email "To" Address
Author: LarryJ
Date: Mon, 11 Dec 2006 11:19
Date: Mon, 11 Dec 2006 11:19
20 lines
1643 bytes
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
Re: How Can I Preview an Email "To" Address
Author: Hans Galema
Date: Mon, 11 Dec 2006 12:15
Date: Mon, 11 Dec 2006 12:15
20 lines
1494 bytes
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.
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