Author | Topic: reading POP3 mail | |
---|---|---|
Chris Andries | reading POP3 mail on Fri, 12 Aug 2011 14:33:01 +0200 Hi, I'm using xbsee from Marshalsoft. It is working stable and I'm using it for years to send email. Now I want to read a POP3 mailbox with this library. I can access the mailbox, check for messages, read the messages and extract the From and Subject. However I can't find to extract the BODY of the mail? I don't find any function to accomplish this. In the samples mails are imported, but also no sample which reads the body. Anyone who can help with this? Best regards, Chris Andries | |
Thomas Braun | Re: reading POP3 mail on Mon, 15 Aug 2011 16:46:04 +0200 Chris Andries wrote: > Subject. However I can't find to extract the BODY of the mail? I don't find > any function to accomplish this. In the samples mails are imported, but also > no sample which reads the body. > > Anyone who can help with this? I'm only using see4xb to sedn email - but from what I have found, reader.prg in the "apps" dir4ectory of the installation should be what you need. This sample gets email + attachements from a pop3 server - via the XseeGetEmailFile() function - and stores them into a local directory. Thomas | |
Chris Andries | Re: reading POP3 mail on Tue, 16 Aug 2011 09:36:49 +0200 Hi Thomas, Thanks for your answer, but this isn't reading the content, the body of the mail. The getemailfile() is the complete mail, with the headers. I would like to extract the body to save it. Best regards, Chris Andries. "Thomas Braun" <spam@software-braun.de> wrote in message news:mqczsnvxz2ym.189pn6fb4j4c7.dlg@40tude.net... > Chris Andries wrote: > > > Subject. However I can't find to extract the BODY of the mail? I don't find > > any function to accomplish this. In the samples mails are imported, but also > > no sample which reads the body. > > > > Anyone who can help with this? > > I'm only using see4xb to sedn email - but from what I have found, > reader.prg in the "apps" dir4ectory of the installation should be what you > need. > > This sample gets email + attachements from a pop3 server - via the > XseeGetEmailFile() function - and stores them into a local directory. > > Thomas | |
AUGE_OHR | Re: reading POP3 mail on Tue, 16 Aug 2011 13:10:22 +0200 hi, > Thanks for your answer, but this isn't reading the content, the body of > the > mail. The getemailfile() is the complete mail, with the headers. I would > like to extract the body to save it. as Thomas say : you have to use Code := XseeGetEmailFile(0, MsgNbr, @EmailName, @EmailDir, @AttachDir) and than Extract Body from Email. greetings by OHR Jimmy | |
Thomas Braun | Re: reading POP3 mail on Tue, 16 Aug 2011 16:06:21 +0200 Chris Andries wrote: > Hi Thomas, > > Thanks for your answer, but this isn't reading the content, the body of the > mail. The getemailfile() is the complete mail, with the headers. I would > like to extract the body to save it. The body is separated from the headers by two CR/LF pairs - so this is quite an easy thing to do A different approach would be to ask Marshallsoft support. Thomas |