Results 1 to 5 of 5

Thread: sending emails using vb6

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    3

    sending emails using vb6

    Hi every1

    Im trying to get some stuff on VB and well I'm new to VB. What I need is, How can I send an email from VB without using MAPI/Outlook. Just like what we do in asp or asp.net.

    Any anwsers would be appreciable!

    Thanks in advance.
    Nickel

  2. #2
    Lively Member
    Join Date
    Nov 2004
    Location
    UK
    Posts
    80

    Re: sending emails using vb6

    Quote Originally Posted by coolnickel
    Hi every1

    Im trying to get some stuff on VB and well I'm new to VB. What I need is, How can I send an email from VB without using MAPI/Outlook. Just like what we do in asp or asp.net.

    Any anwsers would be appreciable!

    Thanks in advance.
    Nickel
    U can get 3rd Party OCXs or use Winsock

  3. #3
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: sending emails using vb6

    Please have a look at the FAQ at the top of this forum,

    http://www.vbforums.com/showthread.php?t=319832

    It contains links to help you out

    This one should be what your after,

    http://winsockvb.com/article.php?article_id=20

    Pino

  4. #4
    Lively Member
    Join Date
    Apr 2002
    Posts
    89

    Re: sending emails using vb6

    you can use telnet. and whast cool about it, the email you are sending from doesnt even have to be real, so anonymous emails galore. I like to email people using [email protected].

    EDIT: found a site using telent to send SMTP mail http://winsockvb.com/article.php?article_id=20
    Last edited by MrSmellyBelly; Apr 8th, 2005 at 09:21 AM.

  5. #5
    Lively Member
    Join Date
    Apr 2005
    Posts
    127

    Angry Re: sending emails using vb6

    I cant send the email?
    I tried many smtp servers but its not working...
    VB Code:
    1. With SMTP
    2.         .Server = "mail.hotmail.com"
    3.         .Port = 25
    4.         .MailFrom = "[email protected]"
    5.         .MailTo = "[email protected]"
    6.         .NameFrom = "Me"
    7.         .NameTo = "You"
    8.         .Subject = "Test mail from WinsockVB.com control"
    9.         .Body = "Hello"

    I also have the other SMTP titled code in the bacground. I click play and it doesnt show anything. Just a curso blinking really fast. And I cant type anything inside it and that doesn't work? So what can be the problem? I havent messed with the code any?!?!?
    This would be very helpful to learn, thanksss

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