Results 1 to 4 of 4

Thread: SMTP with VB6.0 ??? how!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2006
    Posts
    25

    Exclamation SMTP with VB6.0 ??? how!

    Yes i like to send a mail with VB6.0 .
    why VB6.0, Well after i toke a look at winsocket.
    I just feld if i watch a book of frenkenstein. lol
    i dont know where to start.
    Just a simple connection between 2 computers.
    EMAIL
    with a attachment.
    This is for a mail program that users can send to eachoter.
    Thannk you
    Eduard

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: SMTP with VB6.0 ??? how!

    this vbsendmail works great to send emails to anyone
    http://www.freevbcode.com/ShowCode.Asp?ID=109
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2006
    Posts
    25

    Re: SMTP with VB6.0 ??? how!

    its great, but i want it on startup post a message to someone with an attachement.
    how do i do that.

  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: SMTP with VB6.0 ??? how!

    the code examples show how to add attachment,
    if you want he program to run when windows starts or user logs n you will need to put a shortcut to your program in the start menu, startup folder
    or put an entry in the registry in the run key
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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