HI,
I have one problem.
How to sent the mesage to email if conection avaible.
I can't use any component, becource I can't add any file needed more than app.exe. I can use api or something.
Is any way to do that?
Printable View
HI,
I have one problem.
How to sent the mesage to email if conection avaible.
I can't use any component, becource I can't add any file needed more than app.exe. I can use api or something.
Is any way to do that?
Bad news. There IS an API dll (wininet.dll) that controls MOST internet protocols (HTTP, FTP, GOPHER). The one's that are noticeably missing are POP and SMTP. You *might* be able to play around with one of the http email programs (if you have a LOT of spare time) and actually send an email.
There are a lot of "aftermarket" smtp dll's and such that you can use, but this doesn't solve your problem of not wanting to package any other files with your app.exe.
The following is a link to a microsoft kb article (Q185519) which gives *most* of the wininet function declarations.
http://support.microsoft.com/support.../Q185/5/19.ASP
You don't have to use the wininet.dll! The wininet.dll provides a high level set of wrapper functions for key areas of certain protocols. Programs and DLL's don't 'control' the protocols, they merely 'implement' them.
Your original question was answered in this thread. http://www.vbforums.com/showthread.p...threadid=99092
BTW, please only post in one forum :)
Hope this helps.
Laterz
> Programs and DLL's don't 'control' the protocols,
> they merely 'implement' them.
Thx for the correction. Guess I got a little sloppy with my "syntax."