Page 12 of 23

Re: A request.

Posted: Thu Jul 26, 2007 10:22 am
by gnozal
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.
It's not saved if you don't specify a filename.

Re: A request.

Posted: Thu Jul 26, 2007 10:30 am
by Fangbeast
gnozal wrote:
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.
It's not saved if you don't specify a filename.
Yes, I understand that but how do I do it afterwards, manually? I can do that but your command is more convenient:):):):)

Re: A request.

Posted: Thu Jul 26, 2007 10:53 am
by gnozal
Fangbeast wrote:Yes, I understand that but how do I do it afterwards, manually?
Like this :

Code: Select all

  *MessageBuffer = PurePOP3_GetMessageBufferAddress()
  MessageBufferLen = MemoryStringLength(*MessageBuffer)
  Stream = CreateFile(#PB_Any, "MyMailFile.txt")
  If Stream
    WriteData(Stream, *MessageBuffer, MessageBufferLen)
    CloseFile(Stream)
  EndIf

Re: A request.

Posted: Thu Jul 26, 2007 12:01 pm
by Fangbeast
gnozal wrote:
Fangbeast wrote:Yes, I understand that but how do I do it afterwards, manually?
Like this :

Code: Select all

  *MessageBuffer = PurePOP3_GetMessageBufferAddress()
  MessageBufferLen = MemoryStringLength(*MessageBuffer)
  Stream = CreateFile(#PB_Any, "MyMailFile.txt")
  If Stream
    WriteData(Stream, *MessageBuffer, MessageBufferLen)
    CloseFile(Stream)
  EndIf
You are a genius. What great a great help too, I can't thank you enough!

Posted: Thu Jul 26, 2007 12:26 pm
by byo
Gnozal, thanks for this great lib. It works like a charm. :wink:

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.

Posted: Thu Jul 26, 2007 12:55 pm
by gnozal
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.
I don't understand what you mean. For sending mail, it's PureSMTP and not PurePOP3 ?

Posted: Thu Jul 26, 2007 1:06 pm
by bender-rulez
Is there a Linux version??

Posted: Thu Jul 26, 2007 1:23 pm
by gnozal
bender-rulez wrote:Is there a Linux version??
Sorry, no. All my libs/apps are windows only.

Posted: Thu Jul 26, 2007 2:05 pm
by bender-rulez
is there a lot of Win API in them?

Posted: Thu Jul 26, 2007 3:57 pm
by gnozal
bender-rulez wrote:is there a lot of Win API in them?
Usually yes.

Posted: Fri Jul 27, 2007 2:34 am
by byo
gnozal wrote:I don't understand what you mean. For sending mail, it's PureSMTP and not PurePOP3 ?
Hmm... you're right. I was with both internet explorer windows opened and I messed up. I'll post my sugestion where it should be and I'll try to explain it better than I did.

Thanks. :D

Re: PurePOP3 library : POP3 functions

Posted: Thu Aug 30, 2007 12:47 pm
by gnozal
Update (both libs)

- Some fixes

(SOLVED) Just updated both libs and::::

Posted: Fri Aug 31, 2007 10:47 am
by Fangbeast
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)

Posted: Fri Aug 31, 2007 11:34 am
by srod
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.

Posted: Fri Aug 31, 2007 1:48 pm
by Fangbeast
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.
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.

/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.