POP3 User Library

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

- The progressbar works now. (look the previous post)

- but I found a bug in FixUpMessage()

Code: Select all

Temp$ = PeekS(*buffer)
There is a string limitation here : 64000
If the message is too long the program crashes
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

A techincal question for you:

- how to convert UNICODE to ASCII ?
I saw some strange coded subject.
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Post by TerryHough »

@eddy

Thanks for working on the ProgressBar code. But, it isn't working properly
on my test messages at least. They are all 2000 to 4000 bytes. On them
the progress bar never dsiplays. I reaaranged the thread exit a bit to
get beyond that only to find that the entire message is received before
the progressbar actually displays anything. It did display progress as it
should have, just didn't start until the entire message was already totally
receaived. I haven't tried longer messages with it yet.
There is a string limitation here : 64000
If the message is too long the program crashes
Yes, you are correct. I originally wrote that function to handle just the
first few lines of a message and then reused it on the entire message.
Should have paid more attention to that. Seems I frequently overlook
the 64000 byte string limit since I previously used a language without that
limitation. Old habits..., you know.
eddy wrote:A techincal question for you:

- how to convert UNICODE to ASCII ?
I saw some strange coded subject.
See this post
viewtopic.php?t=10908&highlight=unicode
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

Is it possible to detect if there's attached file ?
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
zikitrake
Addict
Addict
Posts: 875
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

:? Any news about this library?
PB 6.21 beta, PureVision User
kroote
New User
New User
Posts: 4
Joined: Mon Aug 08, 2005 2:44 pm

Post by kroote »

POP3_SaveMsg( filename$, messageNumber, *callback ) crashes with email of 1,5 MB !

The last update is in April 2004 ?
Post Reply