Page 11 of 23
Posted: Tue Apr 24, 2007 12:18 pm
by Fangbeast
gnozal wrote:10 Reasons You Don’t Need Vista Today
1. Vista Requires a Fairly Powerful Machine
2. Application Incompatibilities
3. Vista is Crazy Expensive
4. No Hardware Audio
5. Vista Doesn’t Work With a Lot of Bleeding-Edge Hardware
6. Vista Doesn’t Work Well With Some Games
7. Vista Includes Consumer-Unfriendly DRM
8. Poor Driver Support
9. Vista is Kind of Annoying
10. You Can Wait
http://maximumpc.com/2007/01/10_reasons_you.html
10 reasons not to get Vista
1. You don't actually need it
2. Cost $$
3. On that note, it's outrageously overpriced
4. Upgrading hardware
5. Driver support
6. Applications that don't work
7. It's a big fat target
8. UAC
9. DRM
10. The draconian license
http://apcmag.com/5049/10_reasons_not_to_get_vista
etc...

[Rant On]
I read all of that and it is true. As an ex-ms sales partner/tester etc, I am appalled a the direction they are taking. I am even more appalled at the stupidity of people who blindly assume they have to go with vista and don't have the balls to seek intelligent alternatives. It's even worse when stupid people expect them to make their code work in such an amateurish O/S that blows their credibility away.
And just because one or two people with more money than sense have a working vista system, it doesn't make it right for others to go broke doing the same.
I love how four of the biggest companies in the USA blew off vista for Linux because it made sense, saved money and worked first time. And so many other places all over the world are blowing ms off over the vista issue. Ms just got it totally wrong this time, too little too late.
[Rant Off]
Posted: Tue Apr 24, 2007 1:22 pm
by Dare
Fangbeast wrote:I love how four of the biggest companies in the USA blew off vista
Heya Fangs,
Didn't realise that had happened!
Which four are those? I'd like to bandy a few names around as I try to dissuade clients, friends, rellies (anyone making the mistake of making eye-contact, actually) from going with Vista.
<HijackThread status="on">
My take:
Vista is a way to transfer money from our pockets into Microsoft's pocket. It really doesn't have another purpose.
Hopefully it backfires on them. Hopefully their next revenue raising effort is restricted to putting up a paypal "donate" button on their website.
If you live in Australia you are being shafted big time. Not good - unless you enjoy the odd rectum rocket.
To improve the functionality of your PC spend the money on apps or hardware that you need or want instead.
<HijackThread status="off">
Posted: Wed Apr 25, 2007 1:30 pm
by Frontier
gnozal wrote:Frontier wrote:After this last update, code that used to work with PurePOP3, does no longer works. In particular, it seems that PurePOP3_SaveAttachementsToFile() is broken; the attachment is saved, but it's corrupt.
Some stupid typo ...
I have uploaded
http://freenet-homepage.de/gnozal/PurePOP3_BETA.zip (standard ANSI lib), to be placed in the userlibraries folder.
Please test it (with messages that did not work [to see if it fixes the problem] and with messages that did work [to check that nothing is broken])
Thanks
Hi gnozal,
The library is OK, you should update the whole package.
Thanks!
Posted: Wed Apr 25, 2007 1:33 pm
by gnozal
Update (Both lib versions)
Fixed bug described in above posts
Posted: Wed Apr 25, 2007 1:40 pm
by Frontier
gnozal wrote:Update (Both lib versions)
Fixed bug described in above posts
Boy, you're
really fast

Thanks!
Posted: Wed Apr 25, 2007 1:42 pm
by gnozal
Frontier wrote:gnozal wrote:Update (Both lib versions)
Fixed bug described in above posts
Boy, you're
really fast

Thanks!
The files were updated yesterday

Posted: Sat Jun 09, 2007 7:56 am
by gnozal
Update (Both libs)
Changes :
- added support for 'multipart/related' messages
- added handling of '-ERR' server message in PurePOP3_RetrieveMessage()
- lots of fixes
- not too much new bugs I hope ...
Posted: Fri Jun 15, 2007 9:33 am
by hschmidt
Hi Gnozal,
your lib works fine (saving attachments too) - thank you.
Now, I have an other problem. Two character will cut from message. I think, it is in context with the 2 ENTERs (\r\n chr(13)+chr(10)) between mail header and message.
Do you know what I mean? Can you help?
Thanks a lot!
Horst
Posted: Fri Jun 15, 2007 9:54 am
by gnozal
hschmidt wrote:Now, I have an other problem. Two character will cut from message. I think, it is in context with the 2 ENTERs (\r\n chr(13)+chr(10)) between mail header and message.
Do you know what I mean? Can you help?
Yes, you could post the dump of the message (using debug mode).
Posted: Fri Jun 15, 2007 11:18 am
by hschmidt
Hi Gnozal,
thank you for your answer.
My dump seems to bo OK. I think, it is a problem with "PurePOP3_GetMessageTextInMemory()". The memory has the right lenght of mail body, but it includes the ENTER-characters between mail header and body (and there are the last 2 characters missing).
Please have a look at screenshot (
Link)
My Dump
Code: Select all
RECEIVE : +OK POP3 MyServer minipop server ready
SEND : USER MyUsername
RECEIVE : +OK User name accepted, password please
SEND : PASS MyPassword
RECEIVE : +OK Mailbox open, 1 messages
SEND : STAT
RECEIVE : +OK 1 894
SEND : STAT
RECEIVE : +OK 1 894
SEND : LIST 1
RECEIVE : +OK 1 894
SEND : LIST 1
RECEIVE : +OK 1 894
SEND : RETR 1
- RECEIVED (Buffer) : 913 BYTES
<dump>
+OK 894 octets
Return-Path: <xyz@mydomain.com>
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13)
X-Spam-Level:
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed
version=3.1.8
X-KSD: <xyz@mydomain.com>
Date: Fri, 15 Jun 2007 11:53:34 +0200
From: Me <xyz@mydomain.com>
To: xyz@mydomain.com
Subject: Test
Message-Id: <123456789xyz@mydomain.com>
Organization:
X-Mailer: Sylpheed
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Status:
It's just a test
.
</dump>
* End OF COM [CRLF . CRLF]
* RECEIVED (TOTAL) : 913 BYTES
* DUMP n°0 in file <PurePOP3-Debug-RETR-000.txt>
SEND : DELE 1
RECEIVE : +OK Message deleted
SEND : QUIT
RECEIVE : +OK See you later!
Thank you!
Best regards,
Horst
Posted: Fri Jun 15, 2007 1:02 pm
by gnozal
Update (both libs)
Changes :
- fixed a bug in PurePOP3_GetMessageTextInMemory() with plain text messages in some cases
Posted: Fri Jun 15, 2007 2:04 pm
by hschmidt
gnozal wrote:Changes :
- fixed a bug in PurePOP3_GetMessageTextInMemory() with plain text messages in some cases
Hi Gnozal,
you are so fast - respect! And it works fine! Very good!
You are the hero of the hour!
Best regards
Horst
A request.
Posted: Thu Jul 26, 2007 6:26 am
by Fangbeast
I assume this command saves the email to disk immediately?
PurePOP3_RetrieveMessage(MessageNumber.l, [FileName.s])
Is there any way to do this AFTER I get the header details? Something like:
PurePOP3_RetrieveMessage(MessageNumber.l)
HeaderLine.s = PurePOP3_HeaderFindFirst()
If HeaderLine
; Find the header I want to use as a filename
While HeaderLine
HeaderLine = PurePOP3_HeaderFindNext()
; Find the header I want to use as a filename
Wend
EndIf
PurePOP3_SaveMessage((MessageNumber.l, MyNewFileName.s)
I'd like to get the headers and create a filename from those so that when I check the saved emails, they make some sense to me. ( I get a lot of emails and creating random filenames makes it hard to sort after).
If you can't, I can always do things manually.
Thanks for a great library!

Re: A request.
Posted: Thu Jul 26, 2007 9:56 am
by gnozal
Fangbeast wrote:I assume this command saves the email to disk immediately?
PurePOP3_RetrieveMessage(MessageNumber.l, [FileName.s])
Yes
Fangbeast wrote:I'd like to get the headers and create a filename from those so that when I check the saved emails, they make some sense to me. ( I get a lot of emails and creating random filenames makes it hard to sort after).
Why not use PurePOP3_GetMessageInfo() to get the message subject ? So you can choose a filename that makes sense.
Fangbeast wrote:Is there any way to do this AFTER I get the header details?
Iirc, with PurePOP3_GetMessageBufferAddress() you get a pointer to the message retrieved by PurePOP3_RetrieveMessage().
Re: A request.
Posted: Thu Jul 26, 2007 10:15 am
by Fangbeast
Why not use PurePOP3_GetMessageInfo() to get the message subject ? So you can choose a filename that makes sense.
Because your manual says that PurePOP3_GetMessageInfo() Must be used after PurePOP3_RetrieveMessage() and by that time, the message has been saved already.
[/quote]Iirc, with PurePOP3_GetMessageBufferAddress() you get a pointer to the message retrieved by PurePOP3_RetrieveMess
age().[/quote]
Isn't this the same problem as above? PurePOP3_RetrieveMessage(FileName) saves the message to disk immediately so there is no chance to figure out a better filename.
Looks like I might need to think of another solution. Thanks anyway.