Page 8 of 25
Posted: Thu Jan 18, 2007 5:32 pm
by Flype
ah ok,
so i will try to increase this value because i'm using my program on a Terminal Server
on a (very) distant server which is very busy (about 50 TSE connection at the same time).
thank you gnozal for your support - very kind.
i will inform you after some tests.....
Posted: Thu Jan 18, 2007 5:56 pm
by Flype
Seems to be Ok now with a 10 seconds TimeOut.

thanks.
Posted: Thu Jan 18, 2007 11:20 pm
by Flype
Ok, previous problem is now ok.
But now i'm wondering how i can use PureSMTP with a gmail account.
It needs a TLS secured authentification on port 25.
here is the response of the gmail server :
last code is: -3
last message is: 530 5.7.0 Must issue a STARTTLS command first
Posted: Fri Jan 19, 2007 8:45 am
by gnozal
Flype wrote:Ok, previous problem is now ok.
But now i'm wondering how i can use PureSMTP with a gmail account.
It needs a TLS secured authentification on port 25.
PureSMTP and PurePOP3 won't work with GMAIL.
The Google Gmail Server requires an encrypted connection (SSL). And this I don't know how to do (nor have time for this at the moment).
Sorry.
Posted: Fri Jan 19, 2007 11:53 am
by Flype
no problem - i can live without PureSMTP / GMail

Posted: Thu Jan 25, 2007 10:19 am
by Flype
Hello gnozal,
How can i send Cc: (copies) ?
I tried to do it using AddHeader("Cc", "
test1@test.com;
test2@test.com") but it doesn't works.

Posted: Thu Jan 25, 2007 11:12 am
by DoubleDutch
If you add CC, can you also add BCC?

Posted: Thu Jan 25, 2007 11:41 am
by gnozal
Flype wrote:How can i send Cc: (copies) ?
You can't (never thought of that)
DoubleDutch wrote:If you add CC, can you also add BCC?
If I add it, why not.
Maybe I will add it, if it doesn't imply to change the current PureSMTP_SendMail() syntax.
Posted: Thu Jan 25, 2007 11:56 am
by Flype
Yes please, i really need it for my work.
And it is just one more line in the header of the mail.
Posted: Thu Jan 25, 2007 1:10 pm
by gnozal
Ok, here it is, please test :
http://freenet-homepage.de/gnozal/PureSMTP_BETA.zip (ANSI beta library for PB4)
To be compatible with the older versions, it works this way :
PureSMTP_SendMail(MailTo.s, MailFrom.s, Subject.s, MsgBody.s [, Attachments.s [, UserName.s [, Password.s [, HeaderAddon.s]]]])
To specify CC: or BCC:, just add "cc:" or "bcc:" before the address in MailTo.
Example : MailTo = "
User1@Server1.fr;
cc:User2@Server2.us;
bcc:UserX@ServerX.ru"
If it works ok I will release the other library versions.
Posted: Thu Jan 25, 2007 2:21 pm
by Flype
I've done just a few tests - all seems ok.
I would like to thank you for your kindness - once again.

(french smiley)
Posted: Thu Jan 25, 2007 2:23 pm
by DoubleDutch
Nice way of doing it.

Posted: Thu Jan 25, 2007 2:32 pm
by gnozal
Thanks both
Update (both versions)
Changes :
- you can now add 'cc:' or 'bcc:' before the recipients addresses to enable carbon copy or blind carbon copy.
Posted: Thu Jan 25, 2007 2:48 pm
by Flype
this last update is also ok.
Posted: Sat Jan 27, 2007 3:06 pm
by Frontier
Thank you gnozal for your excellent library.
I do have one question however: how can I send e-mail messages with non-latin characters (in particular Greek, with ISO page 8859-7) with attachments, without PureSMTP destroying the attachment?
I've tried PureSMTP_SetContentType("multipart/mixed; charset=iso-8859-7") together with PureSMTP_SetBoundary(), but I get the e-mail with the attachment in base64 form, inside the message body (i.e it can't be saved as an attachment).
Thank you very much for your help and efforts providing this library.