Author | Topic: POP3 client | |
---|---|---|
Alan Kochta | POP3 client on Thu, 21 Aug 2003 14:29:32 -0400 What am I doing wrong? I have been trying to use the POP3 client in asinet to receive email. Some messages are received properly and some only show a few bytes from the beginning of the header ( +OK 1475 Octets RE ). I am using the 1.82.294 version of the Alaska product. The os is w2k sp4 and the mail server is made by Merak. The Marshallsoft product works fine in this environment. The code follows. Thanks in advance.... Alan Kochta //////////////////////////////////////////////// static function test_a_pop3() local cMail := space(0) local oPop3,oMail,nCount,oSender,aContent,i,oContent #pragma library("asinet10.lib") oPop3 := Pop3client():new('winbcam.com',,'shop','shop',,) if oPop3:connect() msgalert('Connect') else msgalert('No Connection') return nil endif nCount := oPop3:getnumberofnewmessages() msgalert(nCount,'New Messages') for i = 1 to nCount msgalert(left(oPop3:getmessagestring(i),300),'Message Packet') oMail := oPop3:getmessage(i) aContent := oMail:getcontent() oContent := aContent[1] if oContent:ismultipart() msgalert('Multi Part') endif cMail := oContent:getmessage() msgalert(left(cMail,300),'Message Body') next i oPop3:disconnect() return nil | |
Heiko Schmidt [Alaska Software] | Re: POP3 client on Thu, 28 Aug 2003 13:04:39 +0200 Alan, thank you for your message. Your described problem is related to PDR 5162. http://www.alaska-software.com/cgi-bin/waa1gate.exe?WAA_PACKAGE=PUBLICDTS&WA A_FORM=DISPLAYPDR&PDRID=5162 This issue (PDR 5162) is solved with the ASINet PFL. Please have a look at: http://www.alaska-software.com/fix With best regards -- Heiko Schmidt Technical Support Alaska Software ------------------------------------------------------- Technical Support EMEA: support@de.alaska-software.com Technical Support APRA: support@us.alaska-software.com News Server: news.alaska-software.com Homepage: www.alaska-software.com WebKnowledgeBase: www.alaska-software.com/kb ------------------------------------------------------- "Alan Kochta" <akochta@winbcam.com> wrote in message news:3f450ecd$1@asgcom.alaska-software.com... > What am I doing wrong? > > I have been trying to use the POP3 client in asinet to > receive email. Some messages are received properly and > some only show a few bytes from the beginning of the > header ( +OK 1475 Octets RE ). > > I am using the 1.82.294 version of the Alaska product. > The os is w2k sp4 and the mail server is made by Merak. > The Marshallsoft product works fine in this environment. > > The code follows. > > > > Thanks in advance.... > Alan Kochta > > > //////////////////////////////////////////////// > static function test_a_pop3() > local cMail := space(0) > local oPop3,oMail,nCount,oSender,aContent,i,oContent > #pragma library("asinet10.lib") > > oPop3 := Pop3client():new('winbcam.com',,'shop','shop',,) > if oPop3:connect() > msgalert('Connect') > else > msgalert('No Connection') > return nil > endif > nCount := oPop3:getnumberofnewmessages() > msgalert(nCount,'New Messages') > > for i = 1 to nCount > msgalert(left(oPop3:getmessagestring(i),300),'Message Packet') > oMail := oPop3:getmessage(i) > aContent := oMail:getcontent() > oContent := aContent[1] > if oContent:ismultipart() > msgalert('Multi Part') > endif > cMail := oContent:getmessage() > msgalert(left(cMail,300),'Message Body') > next i > > oPop3:disconnect() > > return nil > | |
Geoffrey Cohen | Re: POP3 client on Sat, 20 May 2006 22:38:12 +1000 I also need a copy, but it's not on the Web Site anymore ?? "Heiko Schmidt [Alaska Software]" <hschmidt@de.alaska-software.com> wrote: >Alan, > >thank you for your message. > >Your described problem is related to PDR 5162. > >http://www.alaska-software.com/cgi-bin/waa1gate.exe?WAA_PACKAGE=PUBLICDTS&WA >A_FORM=DISPLAYPDR&PDRID=5162 > >This issue (PDR 5162) is solved with the ASINet PFL. >Please have a look at: > > http://www.alaska-software.com/fix > > >With best regards | |
Phil Ide | Re: POP3 client on Sat, 20 May 2006 18:29:23 +0100 Geoffrey, > I also need a copy, but it's not on the Web Site anymore ?? Send an email to support@alaska-software.com. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** I will not outsource core functions. [Things I'd do as an Evil Overlord] |