Search found 3 matches

by stnien
Tue Nov 28, 2006 3:53 am
Forum: PureFORM & JaPBe
Topic: PureSMTP library : mail & attachments (AUTH supported)
Replies: 369
Views: 273692

Hi gnozal,

Yes, it can work. You are a PureBasic Expert. Thank you! :D
by stnien
Mon Nov 27, 2006 3:12 pm
Forum: PureFORM & JaPBe
Topic: PureSMTP library : mail & attachments (AUTH supported)
Replies: 369
Views: 273692

SMTP send mail with unicode mode

Okay, I try to the code send mail with unicode mode and it works.


Global MailID

Procedure MailDataSend(msg$)
Debug "Command: "+msg$
*cmd = AllocateMemory(9999)
For i = 1 To Len(msg$)
asc = Asc(Mid(msg$, i, 1))
PokeB(*cmd+i-1, asc)
Next

SendNetworkData(MailID, *cmd, Len(msg ...
by stnien
Sun Nov 26, 2006 6:34 am
Forum: PureFORM & JaPBe
Topic: PureSMTP library : mail & attachments (AUTH supported)
Replies: 369
Views: 273692

Sorry, I try again and I confirm that SMTP can't accept unicode string. Whatever send to SMTP server or receive from SMTP server, all of these strings have to use non unicode.