Hacking around last night, I figured out how to do everything but attachments.
What would be the basic logic to read a binary attachment. I am using Lazarus under Linux? Thx, Terry On Thu, 2007-04-12 at 07:45 +0000, Sasa Zeman wrote: > > I am interested in using the pop protacall with the Synapase Library for > > a specific project. But I am left with questions in its use. > > POP3 and STMP are the most oldest internet protocols - commands are very > simple and easily to learn (related RFCs can be finded in Synapse sources). > > > 1. How do you see what e-mail are on the server? > > I suppose you need to see list of arrived messages on server. For that > purpose > POP3 server have LIST command (and appropriet method in Synapse library). > > > 2. How are they referenced? > > Messages are refferenced in References field in the header (see also > Message-ID field). > > > 3. How do you read in a specific e-mail? > > Command is RETR n , where "n" is number of message received by LIST command. > > > 4. How do you handle attachments? > > See TMimeMess class and its methods under MessagePart. > > > 5. How do you delete an e-mail off of the server? > > Command is DELE n , where "n" is number of message received by LIST command. > Notice that message numbers are dynamically formed for each POP3 session only > - POP3 server may change order of message on every session. > > You may also be interested to take look on my site, section dedicated to > Synapse, where are published few simple and well commented examples for > beginners. > > Sasa > -- > www.szutils.net > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > synalist-public mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/synalist-public -- Terry A Haimann <[EMAIL PROTECTED]> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/synalist-public
