-
I want to make part of my self standing .exe file (written in VB) send email.
I don't want the progra to spawn Outlook or anything, and I want people to be able to do it without having any email software configured.
Any way I can do this in VB5 Ent Ed?
Thanks
-
Private Sub Form_Load()
Winsock1.Connect server, 25
End Sub
Private Sub Winsock_Connect()
Winsock1.SendData "From:[email protected]"
Winsock1.SendData "To:[email protected]"
Winsock1.SendData "Subject:[email protected]"
Winsock1.SendData "Hello World!"
Winsock1.Close
Ens Sub()
-
heh
it is not that easy man,
i have written mine and it supports sending/receiving multiple attachments, as well as BASE64 encryption algorithm, and it took me a good month.
good luck,
-
Tunas - What is this?
Your winsock idea sounds too easy. How would it know where it was sending the data?
-
if you dont know how the mail protocol works, you should check the smtp rfc:
http://www.cis.ohio-state.edu/rfc/rfc0821.txt