Page 2 of 25
Posted: Tue Oct 19, 2004 12:39 pm
by GeoTrail
Got it. this worked for me
Code: Select all
MsgBody.s = "Sending an email with PB."+Chr(13)+"Is this a second line?"
Posted: Tue Oct 19, 2004 12:46 pm
by gnozal
Have you tried CrLf (chr(13) + chr(10)) ?
EDIT you're to fast

Posted: Tue Oct 19, 2004 12:50 pm
by GeoTrail
Works great now

Posted: Thu Oct 21, 2004 7:20 am
by gnozal
Library update (see first post or thread)
Changes :
- added function PureSMTP_POP3Messages(POP3Server.s, POP3Port.l, POP3UserName.s, POP3UserPassword.s)
Returns number of e-mails at POP3 server [>= 0 , else is error code]
Posted: Thu Oct 21, 2004 9:43 am
by GeoTrail
Kewl, soon, if you add a few more features, we can use this single lib to create a full email client

*S*
Keep 'em coming bud.
Posted: Thu Oct 21, 2004 10:32 am
by freedimension
GeoTrail wrote:Kewl, soon, if you add a few more features, we can use this single lib to create a full email client

*S*
Keep 'em coming bud.
Or my own, customized, spam blocker *dreaming*
Posted: Thu Oct 21, 2004 10:52 am
by GeoTrail
He he he that is actually something I am currently planning.
My own little tray-icon spam filter

Posted: Thu Oct 21, 2004 1:53 pm
by TerryHough
freedimension wrote:Or my own, customized, spam blocker *dreaming*
Then you will need to also look at the POP3_Library at
viewtopic.php?t=11136
GeoTrail wrote:
My own little tray-icon spam filter

I know you have already been there since we conversed in that thread.
You may also want to look at
viewtopic.php?t=12767
to see how I used POP3_Library to view the contents of my POP3
mailbox without downloading anything. Makes it easy to delete the spam
using something akin to a WebMail handler.
It isn't technically a spam filter, but it may give you some ideas.
Regards,
Terry
Posted: Thu Oct 21, 2004 1:56 pm
by GeoTrail
Thanks Terry.
Your help with the POP3 lib has been very valuable

And thanks for the link *S*
Hey, maybe we could start some OpenSource projects here?
We could start with a great spam filtering system, then build a cool email client. And maybe even a bundle package with FTP and other usefull apps

Posted: Wed Nov 17, 2004 11:54 am
by newbie
Hi GeoTrail and all,
I have tried this very usefull lib and it works fine.
However, I noticed that it creates a thread that is never released/killed (why not), but I noticed also that my RAM usage for the app was nearly the double and was never released too after to have sent a single email.
Is there any memory freeing and sanity check in the code ?
Can't you close the additional thread ?
(apparently, by killing manually this thread within the app process, the memory is not released either).
I am just trying to help to improve this very handy lib
regards.
Posted: Sat Nov 27, 2004 11:12 am
by gnozal
AFAIK, there is no thread in the library and the allocated memory should be released. Did you use the PureSMTP_CloseSMTPConnection() function ? It frees the allocated memory.
Posted: Sat Nov 27, 2004 11:21 am
by newbie
Yes I use it upon sucessfull connection Only.
However I am calling all the mail functions stuff from a thread I have created myself, could it be the problem ?
I mean there is the program running, (1 thread), I create another thread which does various functions, and from this thread I send a mail and I close the SMTP connection, but an additional thread is still created and is kept in memory, and the RAM usage has growned twice.
I'll try to submit a working source code when I will have the time.
EDIT : Windows XP SP2
Posted: Sat Dec 11, 2004 3:26 pm
by pvmichael
Will SMTP Authentication be implemented in the future?
EDIT: I found a REALLY good explaination for the authentication process here:
http://www.winsockvb.com/forums/printthread.php?t=1369
Posted: Tue Dec 14, 2004 10:30 am
by gnozal
pvmichael wrote:Will SMTP Authentication be implemented in the future?
There is the PureSMTP_OpenPOP3ThenSMTPConnection() function, wich opens connection to POP3 server (authentification) and then to SMTP server. Does it no work for you ?
Posted: Tue Dec 14, 2004 10:34 am
by pvmichael
gnozal wrote:pvmichael wrote:Will SMTP Authentication be implemented in the future?
There is the PureSMTP_OpenPOP3ThenSMTPConnection() function, wich opens connection to POP3 server (authentification) and then to SMTP server. Does it no work for you ?
No it doesn't work for me.
I belive the SMTP Authentication will become more and more popular.