PDA

Click to See Complete Forum and Search --> : Sending emails without OCXs


Mc Brain
Aug 24th, 2000, 03:57 PM
I'd like to be able to send an email but without any other control. I mean... I don't care if the EXE is too large (because of all the coding), but it'd be only one file to copy. No installation, No OCX registration... just "here's your EXE, use it!"

parksie
Aug 24th, 2000, 04:06 PM
If you use the Winsock2 API, then you can pretty much do everything in the Winsock control and then some. I'll post a link to some docs in a bit.

Mc Brain
Aug 27th, 2000, 11:13 PM
I wasn't of much help. I need to send email without the Winsock control. I mean, I want my APP to run without any installation. If I know that the person who's gonna use it have the vb runtime files, he/she would only need the EXE file to run it. That's what I want. I don't want to install the winsock control in their machine neither register it. Any ideas?

parksie
Aug 28th, 2000, 12:37 PM
This may help: http://www.planetsourcecode.com/xq/ASP/txtCodeId.5308/lngWId.1/qx/vb/scripts/ShowCode.htm

Also look at the Winsock2 docs in the Microsoft Platform SDK (free from MSDN).

Mc Brain
Aug 28th, 2000, 12:55 PM
No, it didn't help. I didn't look it that hard, 'cos when I opened it I realized that it actually uses the Winsock object. I have some projects like them, it actually works but only if you have it installed on the final user's machine. Which is not the case I'm dealing with.

parksie
Aug 28th, 2000, 01:19 PM
In that case, the PSDK will be the next source of reference: http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/winsock/apistart_9g1e.htm