Results 1 to 5 of 5

Thread: Email with VB

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Liverpool UK
    Posts
    23

    Question

    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

  2. #2
    New Member
    Join Date
    Aug 2000
    Posts
    2

    Smile



    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()




  3. #3
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189

    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,
    www.HardFind.com -buy/sell/trade your used hardware.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Liverpool UK
    Posts
    23

    Question Tunas - What is this?

    Your winsock idea sounds too easy. How would it know where it was sending the data?

  5. #5
    Member FirePoweR's Avatar
    Join Date
    Apr 1999
    Posts
    32
    if you dont know how the mail protocol works, you should check the smtp rfc:
    http://www.cis.ohio-state.edu/rfc/rfc0821.txt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width