I've made a small SMTP engine that I want to share as a gratitude for all the help that forum has been for me .

it uses only 4 arguments :
SMTP server
From
TO
MIME fle

I've tested it like milions times and it seems to work with every SMTP server

Tried yahoo ,hotmail and some local servers .

One can optimize the error handling and probably the string functions but It works as it is fine
Posted on 2004-09-24 04:07:13 by Gangleri
Gangleri,

the code is nice.

but, if you want to peoples use it, you need fix the severe buffer overflows it have... 8)

you lstrcat() too much things to a potential small buffer.

ancev

ps: and you also should switch the 1st lstrcat() to a lstrcpy(), in each buffer, else it would fail after sending the first email
Posted on 2004-09-24 07:16:30 by ancev
Yes i see the error now .
I'll fix it thanks .
Posted on 2004-09-24 16:24:22 by Gangleri