Click to See Complete Forum and Search --> : Email with VB
xensoft
Aug 14th, 2000, 08:40 AM
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
tunas
Aug 15th, 2000, 01:11 PM
Private Sub Form_Load()
Winsock1.Connect server, 25
End Sub
Private Sub Winsock_Connect()
Winsock1.SendData "From:no@mail.com"
Winsock1.SendData "To:no@mail.com"
Winsock1.SendData "Subject:mo@mail.com"
Winsock1.SendData "Hello World!"
Winsock1.Close
Ens Sub()
ShIzO
Aug 15th, 2000, 01:56 PM
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,
xensoft
Aug 16th, 2000, 07:53 AM
Your winsock idea sounds too easy. How would it know where it was sending the data?
FirePoweR
Aug 16th, 2000, 04:03 PM
if you dont know how the mail protocol works, you should check the smtp rfc:
http://www.cis.ohio-state.edu/rfc/rfc0821.txt
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.