It's not saved if you don't specify a filename.Fangbeast wrote:Because your manual says that PurePOP3_GetMessageInfo() Must be used after PurePOP3_RetrieveMessage() and by that time, the message has been saved already.
PurePOP3 library : POP3 functions
Moderator: gnozal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: A request.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: A request.
Yes, I understand that but how do I do it afterwards, manually? I can do that but your command is more convenient:):):):)gnozal wrote:It's not saved if you don't specify a filename.Fangbeast wrote:Because your manual says that PurePOP3_GetMessageInfo() Must be used after PurePOP3_RetrieveMessage() and by that time, the message has been saved already.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: A request.
Like this :Fangbeast wrote:Yes, I understand that but how do I do it afterwards, manually?
Code: Select all
*MessageBuffer = PurePOP3_GetMessageBufferAddress()
MessageBufferLen = MemoryStringLength(*MessageBuffer)
Stream = CreateFile(#PB_Any, "MyMailFile.txt")
If Stream
WriteData(Stream, *MessageBuffer, MessageBufferLen)
CloseFile(Stream)
EndIf
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: A request.
You are a genius. What great a great help too, I can't thank you enough!gnozal wrote:Like this :Fangbeast wrote:Yes, I understand that but how do I do it afterwards, manually?Code: Select all
*MessageBuffer = PurePOP3_GetMessageBufferAddress() MessageBufferLen = MemoryStringLength(*MessageBuffer) Stream = CreateFile(#PB_Any, "MyMailFile.txt") If Stream WriteData(Stream, *MessageBuffer, MessageBufferLen) CloseFile(Stream) EndIf
Gnozal, thanks for this great lib. It works like a charm.
I'd like to make a sugestion though:
To being able to set the string of e-mails you're sending your message to with variable separation characters like:
"mike@hotmail.com;john@something.com"
or
"mike@hotmail.com,john@something.com"
because I've noticed that some messages are NOT showing the full list of e-mails I've send it to. Some servers work with commas, some don't.
Thanks again and keep up the good work.

I'd like to make a sugestion though:
To being able to set the string of e-mails you're sending your message to with variable separation characters like:
"mike@hotmail.com;john@something.com"
or
"mike@hotmail.com,john@something.com"
because I've noticed that some messages are NOT showing the full list of e-mails I've send it to. Some servers work with commas, some don't.
Thanks again and keep up the good work.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
I don't understand what you mean. For sending mail, it's PureSMTP and not PurePOP3 ?byo wrote:To being able to set the string of e-mails you're sending your message to with variable separation characters like:
"mike@hotmail.com;john@something.com"
or
"mike@hotmail.com,john@something.com"
because I've noticed that some messages are NOT showing the full list of e-mails I've send it to. Some servers work with commas, some don't.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- User
- Posts: 49
- Joined: Mon Mar 14, 2005 11:30 am
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PurePOP3 library : POP3 functions
Update (both libs)
- Some fixes
- Some fixes
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
(SOLVED) Just updated both libs and::::
Now getting this error trying to compile.
POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
POLINK: fatal error: 1 unresolved external(s)
**EDIT** I had the old version of the PureVision libs in the correct directory but when I installed the new PureVision libs, it created its' own directories because there appears not to be a standard for creating the correctly named subsystem dirs and different authors put them in a couple of different places and I didn't know.
Sorry about the confusion Gnozal. I'll do a clean re-install of PB and see what the susbsystem dirs are actually called and then install all my used libs to see which is the offender (the ones that put them in the non pb created dirs)
POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
POLINK: fatal error: 1 unresolved external(s)
**EDIT** I had the old version of the PureVision libs in the correct directory but when I installed the new PureVision libs, it created its' own directories because there appears not to be a standard for creating the correctly named subsystem dirs and different authors put them in a couple of different places and I didn't know.
Sorry about the confusion Gnozal. I'll do a clean re-install of PB and see what the susbsystem dirs are actually called and then install all my used libs to see which is the offender (the ones that put them in the non pb created dirs)
Last edited by Fangbeast on Wed Sep 05, 2007 3:37 pm, edited 1 time in total.
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
I'm afraid that you are wrong on both counts. And the only thing I did to get this error was to update to the latest version of these libs from his site and install them.srod wrote:You're using the wrong version of the library fangles. Sounds like you're using the threadsafe version of the library, but not compiling for threadsafe etc.
Check the subsytems.
/me removes the title of "Wizard, first class, from the former mighty s of rod, gives him a dunces cap, paints him green from head to toe, covers him in cotton candy, mounts him on a stick and parades him at the local fairy floss stand as a prime example of the product.